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.
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 ."  

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

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


See similar narrations below:

Collected by Aḥmad, Ibn Ḥibbān, Suyūṭī
ahmad:9993ʿAffān > Ḥammād > Muḥammad b. Ziyād And ʿAmmār b. Abū ʿAmmār > Abū Hurayrah

[Machine] "That the Messenger of Allah ﷺ said: 'Men will leave Medina unwillingly, while Medina is better for them if they only knew.'"  

أحمد:٩٩٩٣حَدَّثَنَا عَفَّانُ قَالَ حَدَّثَنَا حَمَّادٌ عَنْ مُحَمَّدِ بْنِ زِيَادٍ وَعَمَّارِ بْنِ أَبِي عَمَّارٍ عَنِ أَبِي هُرَيْرَةَ

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

ذِكْرُ إِبْدَالِ اللَّهِ جَلَّ وَعَلَا الْمَدِينَةَ بِمَنْ يَخْرُجُ مِنْهَا رَغْبَةً عَنْهَا مَنْ هُوَ خَيْرٌ لَهَا مِنْهُ

ibnhibban:3733Abū Yaʿlá > Wahbb. Baqiyyah > Khālid b. ʿAbdullāh > Muḥammad b. ʿAmr > Abū Salamah > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said, "No one leaves it, meaning the city, out of their desire for it, except that Allah will replace it with something better for it. And the city is better for them if they only knew."  

ابن حبّان:٣٧٣٣أَخْبَرَنَا أَبُو يَعْلَى حَدَّثَنَا وَهْبُ بْنُ بَقِيَّةَ أَخْبَرَنَا خَالِدُ بْنُ عَبْدِ اللَّهِ عَنْ مُحَمَّدِ بْنِ عَمْرٍو عَنْ أَبِي سَلَمَةَ عَنْ أَبِي هُرَيْرَةَ قَالَ

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

suyuti:24104a
Request/Fix translation

  

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

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

[كر] ابن عساكر في تاريخه عن جابر
suyuti:26059a
Request/Fix translation

  

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

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

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