From the exegetes: the verse was revealed concerning Bedouin Arabs who came to Medina as emigrants. If one of them arrived in Medina and stayed healthy, his mare bore a fine foal, his wife bore a son, and his wealth and livestock increased, he was content and at ease and said, "since I entered this religion I have known only good"; but if he fell ill with Medina's sickness, his wife bore a daughter, his mares miscarried, his wealth was lost, and charity was delayed, Satan would come to him and say, "by God, you have known nothing but harm since you took up this religion," and he would turn away from it, whereupon God revealed, "and among the people is he who worships God only on the edge." From Atiyya, related from Abu Sa'id al-Khudri: a Jew became Muslim, then lost his eyesight, his wealth, and his child, and considered Islam ill-omened, he came to the Prophet and said, "release me (let me leave my religion)," the Prophet said, "there is no leaving Islam," the man said, "I have found no good in this religion of mine, I lost my sight, my wealth, and my child," the Prophet said, "O Jew, Islam purifies people as fire removes the impurity from iron, silver, and gold"; whereupon the verse was revealed, "and among the people is he who worships God only on the edge."
قوله تعالى: {ومن الناس من يعبد الله على حرف} الآية {11} . قال المفسرون: نزلت في أعراب كانوا يقدمون على رسول الله - صلى الله عليه وسلم - المدينة مهاجرين من باديتهم، وكان أحدهم إذا قدم المدينة فإن صح بها جسمه ونتجت فرسه مهرا حسنا وولدت امرأته غلاما وكثر ماله وما شيته رضي عنه واطمأن، وقال: ما أصبت منذ دخلت في ديني هذا إلا خيرا، وإن أصابه وجع المدينة وولدت امرأته جارية وأجهضت رماكه وذهب ماله وتأخرت عنه الصدقة، أتاه الشيطان فقال: والله ما أصبت منذ كنت على دينك هذا إلا شرا، فينقلب على دينه، فأنزل الله تعالى: {ومن الناس من يعبد الله على حرف} الآية. وروى عطية عن أبي سعيد الخدري قال: أسلم رجل من اليهود فذهب بصره وماله وولده وتشاءم بالإسلام، فأتى النبي - صلى الله عليه وسلم - فقال: أقلني، فقال: إن الإسلام لا يقال، فقال: إني لم أصب في ديني هذا خيرا، أذهب بصري ومالي وولدي، فقال: يا يهودي إن الإسلام يسبك الرجال كما تسبك النار خبث الحديد والفضة والذهب، قال: ونزلت: {ومن الناس من يعبد الله على حرف}