Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:2413aZuhayr b. Ḥarb > ʿAbd al-Raḥman > Sufyān > al-Miqdām b. Shurayḥ from his father

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).  

مسلم:٢٤١٣aحَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ حَدَّثَنَا عَبْدُ الرَّحْمَنِ عَنْ سُفْيَانَ عَنِ الْمِقْدَامِ بْنِ شُرَيْحٍ عَنْ أَبِيهِ

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


See similar narrations below:

Collected by Nasāʾī's Kubrá

قَوْلُهُ تَعَالَى: {وَلَا تَطْرُدِ الَّذِينَ يَدْعُونَ رَبَّهُمْ} [الأنعام: 52]

nasai-kubra:11098Muḥammad b. Bashhār > ʿAbd al-Raḥman > Sufyān > al-Miqdām b. Shurayḥ from his father

[Machine] About Saad, in this verse {And do not turn away those who call upon their Lord morning and afternoon} [Al-An'am 52], he said: It was revealed regarding six people, including me and Ibn Mas'ood. And it was revealed to permit these people.  

الكبرى للنسائي:١١٠٩٨أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ حَدَّثَنَا عَبْدُ الرَّحْمَنِ حَدَّثَنَا سُفْيَانُ عَنِ الْمِقْدَامِ بْنِ شُرَيْحٍ عَنْ أَبِيهِ

عَنْ سَعْدٍ فِي هَذِهِ الْآيَةِ {وَلَا تَطْرُدِ الَّذِينَ يَدْعُونَ رَبَّهُمْ بِالْغَدَاةِ وَالْعَشِيِّ} [الأنعام 52] قَالَ نَزَلَتْ فِي سِتَّةٍ أَنَا وَابْنُ مَسْعُودٍ فِيهِمْ فَنَزَلَتْ أَنِ ائْذَنْ لِهَؤُلَاءِ  

nasai-kubra:8207Muḥammad b. Bashhār > ʿAbd al-Raḥman > Sufyān > al-Miqdām b. Shurayḥ from his father

[Machine] About Saad in this verse {And do not send away those who call upon their Lord morning and evening}. He said, "This verse was revealed regarding six people, including me and Ibn Mas'ud. It was revealed granting permission for these individuals."  

الكبرى للنسائي:٨٢٠٧أَخْبَرَنَا مُحَمَّدُ بْنُ بَشَّارٍ قَالَ حَدَّثَنَا عَبْدُ الرَّحْمَنِ قَالَ حَدَّثَنَا سُفْيَانُ عَنِ الْمِقْدَامِ بْنِ شُرَيْحٍ عَنْ أَبِيهِ

عَنْ سَعْدٍ فِي هَذِهِ الْآيَةِ {وَلَا تَطْرُدِ الَّذِينَ يَدْعُونَ رَبَّهُمْ بِالْغَدَاةِ وَالْعَشِيِّ} [الأنعام 52] قَالَ «نَزَلَتْ فِي سِتَّةٍ أَنَا وَابْنُ مَسْعُودٍ فِيهِمْ فَأُنْزِلَتْ أَنِ ائْذَنْ لِهَؤُلَاءِ»