Bulugh al-Maram, Book 11, Hadith 1277 (In-Book)

Ibn 'Abbas (RAA) narrated that The Messenger of Allah said: “There is no emigration (from Makkah to al·Madinah) after the conquest of Makkah, but only Jihad (in the Cause of Allah) and a good intention.

وَعَنْ اِبْنِ عَبَّاسٍ رَضِيَ اَللَّهُ عَنْهُمَا قَالَ: قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ " لَا هِجْرَةَ بَعْدَ اَلْفَتْحِ, وَلَكِنْ جِهَادٌ وَنِيَّةٌ" } مُتَّفَقٌ عَلَيْهِ 1‏.‏ ‏1 ‏- صحيح.‏ رواه البخاري ( 2825 )‏، ومسلم ( 1353 )‏، وزادا: "وإذا استنفرتم فانفروا".‏

sunnah.com

also referenced under: Book 11, Hadith 1304 (English)