Sahih Muslim , Hadith 2413

Sa'd reported: This verse was revealed in relation to six persons and I and Ibn Mas'ud were amongst them. The polytheists said to him (the Holy Prophet): Do not keep such persons near you. It was upon this that (this verse was revealed):" Drive not away those who call upon their Lord morning and evening desiring only His pleasure" (vi. 52).

حَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ، عَنْ سُفْيَانَ، عَنِ الْمِقْدَامِ بْنِ شُرَيْحٍ، عَنْ أَبِيهِ، عَنْ سَعْدٍ، فِيَّ نَزَلَتْ ‏{‏ وَلاَ تَطْرُدِ الَّذِينَ يَدْعُونَ رَبَّهُمْ بِالْغَدَاةِ وَالْعَشِيِّ‏}‏ قَالَ نَزَلَتْ فِي سِتَّةٍ أَنَا وَابْنُ مَسْعُودٍ مِنْهُمْ وَكَانَ الْمُشْرِكُونَ قَالُوا لَهُ تُدْنِي هَؤُلاَءِ ‏.‏

sunnah.com

Sa'd reported: We were six men in the company of Allah's Messenger (, nay peace be upon him) that the polytheists said to Allah's Apostle: Drive them away so that they may not be overbold upon us. He said: I, Ibn Mas'ud and a person from the tribe of Hudhail, Bilal and two other persons, whose names I do not know (were amongst such persons). And there occurred to Allah's Messenger what. Allah wished and he talked with himself that Allah, the Exalted and Glorious, revealed:" Do not drive away those who call their Lord morning and evening desiring to seek His pleasure."

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ الأَسَدِيُّ، عَنْ إِسْرَائِيلَ، عَنِ الْمِقْدَامِ بْنِ شُرَيْحٍ، عَنْ أَبِيهِ، عَنْ سَعْدٍ، قَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم سِتَّةَ نَفَرٍ فَقَالَ الْمُشْرِكُونَ لِلنَّبِيِّ صلى الله عليه وسلم اطْرُدْ هَؤُلاَءِ لاَ يَجْتَرِئُونَ عَلَيْنَا ‏.‏ قَالَ وَكُنْتُ أَنَا وَابْنُ مَسْعُودٍ وَرَجُلٌ مِنْ هُذَيْلٍ وَبِلاَلٌ وَرَجُلاَنِ لَسْتُ أُسَمِّيهِمَا فَوَقَعَ فِي نَفْسِ رَسُولِ اللَّهِ صلى الله عليه وسلم مَا شَاءَ اللَّهُ أَنْ يَقَعَ فَحَدَّثَ نَفْسَهُ فَأَنْزَلَ اللَّهُ عَزَّ وَجَلَّ ‏{‏ وَلاَ تَطْرُدِ الَّذِينَ يَدْعُونَ رَبَّهُمْ بِالْغَدَاةِ وَالْعَشِيِّ يُرِيدُونَ وَجْهَهُ‏}‏

sunnah.com