Bulugh al-Maram, Book 11, Hadith 1326 (In-Book) ⓘ
Muslim transmitted part of this hadith on the authority of Anas bin Malik (RAA) which says, ‘ln case any of you comes to us we shall not send him back to you (i.e. one of the Muslims who goes back to Quraysh), and in case any of us came to you, you should send him back to us (any of the people of Quraysh who goes to the Prophet they will send him back to Makkah).’ The Companions asked the Prophet,’O Messenger of Allah! Will you write this down?’ He replied, “Yes. May Allah send out of His Mercy any of the Muslims who goes back to them. But Allah will grant a way out for anyone who comes to us from them.”
وَأَخْرُجَ مُسْلِمٍ بَعْضِهِ مِنْ حَدِيثِ أَنَسٍ, وَفِيهِ: { أَنَّ مَنْ جَاءَ مِنْكُمْ لَمْ نَرُدْهُ عَلَيْكُمْ, وَمَنْ جَاءَكُمْ مِنَّا رَدَدْتُمُوهُ عَلَيْنَا. فَقَالُوا: أَنَكْتُبُ هَذَا يَا رَسُولُ اَللَّهُ? قَالَ: "نَعَمْ. إِنَّهُ مِنْ ذَهَبٍ مِنَّا إِلَيْهِمْ فَأَبْعَدَهُ اَللَّهُ, وَمَنْ جَاءَنَا مِنْهُمْ, فَسَيَجْعَلُ اَللَّهُ لَهُ فَرَجاً وَمُخْرِجاً" } 1. 1 - صحيح. رواه مسلم ( 1784 ).
also referenced under: Book 11, Hadith 1352 (English)