Language:
كتاب الجهاد والسير
56  
Fighting for the Cause of Allah (Jihaad)
(194)
Chapter: There is no emigration after the Conquest
(194)
باب لاَ هِجْرَةَ بَعْدَ الْفَتْحِ
Sahih al-Bukhari 3078, 3079

Narrated Abu `Uthman An-Nahdi:

Mujashi (bin Mas`ud) took his brother Mujalid bin Musud to the Prophet (ﷺ) and said, "This is Mujalid and he will give a pledge of allegiance to you for migration." The Prophet (ﷺ) said, "There is no migration after the Conquest of Mecca, but I will take his pledge of allegiance for Islam."

حَدَّثَنَا إِبْرَاهِيمُ بْنُ مُوسَى، أَخْبَرَنَا يَزِيدُ بْنُ زُرَيْعٍ، عَنْ خَالِدٍ، عَنْ أَبِي عُثْمَانَ النَّهْدِيِّ، عَنْ مُجَاشِعِ بْنِ مَسْعُودٍ، قَالَ جَاءَ مُجَاشِعٌ بِأَخِيهِ مُجَالِدِ بْنِ مَسْعُودٍ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ هَذَا مُجَالِدٌ يُبَايِعُكَ عَلَى الْهِجْرَةِ‏.‏ فَقَالَ ‏ "‏ لاَ هِجْرَةَ بَعْدَ فَتْحِ مَكَّةَ، وَلَكِنْ أُبَايِعُهُ عَلَى الإِسْلاَمِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3078, 3079
In-book reference : Book 56, Hadith 283
USC-MSA web (English) reference : Vol. 4, Book 52, Hadith 312
  (deprecated numbering scheme)