English translation
2116. It was narrated from Mujāhid, that 'Abdur-Rahmān bin Safwān, or Safwān bin 'Abdur-Rahmān Al-Qurashī said: "On the Day of the conquest of Makkah, he came with his father and he said: 'O Messenger of Allāh, give my father a share of Hijrah.' He said: 'There is no Hijrah.' Then he went away and entered upon 'Abbās and said: 'Do you know who I am?' He said: 'Yes.' Then 'Abbās went out, wearing a shirt and no upper wrap, and said: 'O Messenger of Allāh, do you know so-and-so with whom we have friendly ties? He brought his father to swear an oath of allegiance (i.e., promise) to emigrate.' The Prophet ﷺ said: 'There is no Hijrah.'" 'Abbās said: 'I adjure you to do it.' The Prophet ﷺ stretched forth his hand and touched his hand, and said: 'I have fulfilled the oath of my uncle, but there is no Hijrah.'" (Da'if)
Another chain with similar wording. Yazid bin Abu Ziyād said: "Meaning: There is no Hijrah from a land whose people have accepted Islam."
Arabic text
2116 - حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ قَالَ: حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ، عَنْ يَزِيدَ بْنِ أَبِي زِيَادٍ، عَنْ مُجَاهِدٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ صَفْوَانَ، أَوْ عَنْ صَفْوَانَ بْنِ عَبْدِ الرَّحْمَنِ الْقُرَشِيِّ قَالَ: لَمَّا كَانَ يَوْمُ فَتْحِ مَكَّةَ جَاءَ بِأَبِيهِ، فَقَالَ: يَا رَسُولَ اللَّهِ، اجْعَلْ لِأَبِي نَصِيبًا مِنَ الْهِجْرَةِ، فَقَالَ: «إِنَّهُ لَا هِجْرَةَ» ، فَانْطَلَقَ فَدَخَلَ عَلَى الْعَبَّاسِ، فَقَالَ: قَدْ عَرَفْتَنِي؟ قَالَ: أَجَلْ، فَخَرَجَ الْعَبَّاسُ فِي قَمِيصٍ لَيْسَ عَلَيْهِ رِدَاءٌ، فَقَالَ: يَا رَسُولَ اللَّهِ، قَدْ عَرَفْتَ فُلَانًا وَالَّذِي بَيْنَنَا وَبَيْنَهُ، وَجَاءَ بِأَبِيهِ لِتُبَايِعَهُ عَلَى الْهِجْرَةِ، فَقَالَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: «إِنَّهُ لَا هِجْرَةَ» ، فَقَالَ الْعَبَّاسُ: أَقْسَمْتُ عَلَيْكَ، فَمَدَّ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَدَهُ، فَمَسَّ يَدَهُ، فَقَالَ: «أَبْرَرْتُ عَمِّي، وَلَا هِجْرَةَ» ، حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى قَالَ: حَدَّثَنَا الْحَسَنُ بْنُ الرَّبِيعِ، عَنْ عَبْدِ اللَّهِ بْنِ إِدْرِيسَ، عَنْ يَزِيدَ بْنِ أَبِي زِيَادٍ، بِإِسْنَادِهِ، نَحْوَهُ قَالَ يَزِيدُ بْنُ أَبِي زِيَادٍ: «يَعْنِي لَا هِجْرَةَ مِنْ دَارٍ قَدْ أَسْلَمَ أَهْلُهَا»