Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:24104a
Request/Fix translation

  

السيوطي:٢٤١٠٤a

"وَالَّذِي نَفْسُ مُحَمَّدٍ بِيَدِهِ مَا خَرَجَ أَحَدٌ مِنَ الْمدِينَةِ رَغْبَةً عَنْهَا إلا أَبْدَلَهَا اللهُ خَيرًا مِنْهُ أَوْ مِثْلَهُ".  

[كر] ابن عساكر في تاريخه عن جابر

See similar narrations below:

Collected by Mālik, Suyūṭī
malik:45-6Mālik > Hishām b. ʿUrwah from his father

Malik related to me from Hisham ibn Urwa from his father that the Messenger of Allah ﷺ said, "No one leaves Madina preferring to live elsewhere, but that Allah will give it better than him in place of him ."  

مالك:٤٥-٦وَحَدَّثَنِي مَالِكٌ عَنْ هِشَامِ بْنِ عُرْوَةَ عَنْ أَبِيهِ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ يَخْرُجُ أَحَدٌ مِنَ الْمَدِينَةِ رَغْبَةً عَنْهَا إِلاَّ أَبْدَلَهَا اللَّهُ خَيْرًا مِنْهُ  

suyuti:26059a
Request/Fix translation

  

السيوطي:٢٦٠٥٩a

"لَا يَخْرُجُ مِنْهَا أحَدٌ -يَعْنِي الْمَدِينَةَ- رَغْبَةً عَنْهَا، إلا أبْدَلَهَا الله مَا هُوَ خَيرٌ لَهَا مِنْهُ، وَالْمَدِينَةُ خَيرٌ لَهُمْ لَوْ كَانُوا يَعْلَمُونَ".  

[حب] ابن حبّان عن أبي هريرة