BAYHAQI 17771:
from Qīl Liṣafwān b. Umayyah Wahū Biʾaʿlá Makkah Innah Lā Dīn Liman Lam Yuhājir —
[Machine] "I do not go home until I come to the city. He arrived in the city and stayed at the house of Al-Abbas bin Abdul-Muttalib, then he came to the Prophet ﷺ and said, 'What brought you, O Abu Wahb?' He replied, 'It is said that there is no religion for those who do not migrate.' The Prophet ﷺ said, 'Go back, O Abu Wahb, to the outskirts of Mecca and stay according to your religion, for migration has been cut off. However, there is still jihad and intention. And if you are summoned, then respond.'"
البيهقي ١٧٧٧١:
عن قيل لصفوان بن اميه وهو بءعلى مكه انه لا دين لمن لم يهاجر —
لَا أَصِلُ إِلَى بَيْتِي حَتَّى أَقْدُمَ الْمَدِينَةَ فَقَدِمَ الْمَدِينَةَ فَنَزَلَ عَلَى الْعَبَّاسِ بْنِ عَبْدِ الْمُطَّلِبِ ثُمَّ أَتَى النَّبِيَّ ﷺ فَقَالَ مَا جَاءَ بِكَ يَا أَبَا وَهْبٍ؟ قَالَ قِيلَ إِنَّهُ لَا دِينَ لِمَنْ لَمْ يُهَاجِرْ فَقَالَ النَّبِيُّ ﷺ ارْجِعْ أَبَا وَهْبٍ إِلَى أَبَاطِحِ مَكَّةَ فَقَرُّوا عَلَى مِلَّتِكُمْ فَقَدِ انْقَطَعَتِ الْهِجْرَةُ وَلَكِنْ جِهَادٌ وَنِيَّةٌ وَإِنِ اسْتُنْفِرْتُمْ فَانْفِرُوا
hadithunlocked.com