كتاب الحج
15  
The Book of Pilgrimage
(91)
Chapter: The Prophet saws foretold that the people will abandon Al-Madinah when it is the best it ever was
(91)
باب فِي الْمَدِينَةِ حِينَ يَتْرُكُهَا أَهْلُهَا ‏‏
Sahih Muslim 1389 a

Salid b. Musayyib heard Abu Huraira (Allah be pleased with him) say that 'Allah's Messenger (ﷺ) said about Medina:

Its inhabitants will abandon it, whereas it is good for them and it will become the haunt of beasts and birds. (Imam Muslim said that Abu Safwan, one of the narrators whose name was 'Abdullah b. 'Abd al-Malik, was an orphan and I bn juraij took him under his care for ten years.)
حَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا أَبُو صَفْوَانَ، عَنْ يُونُسَ بْنِ يَزِيدَ، ح وَحَدَّثَنِي حَرْمَلَةُ، بْنُ يَحْيَى - وَاللَّفْظُ لَهُ - أَخْبَرَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، عَنْ سَعِيدِ بْنِ، الْمُسَيَّبِ أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ، يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم لِلْمَدِينَةِ ‏ "‏ لَيَتْرُكَنَّهَا أَهْلُهَا عَلَى خَيْرِ مَا كَانَتْ مُذَلَّلَةً لِلْعَوَافِي ‏"‏ ‏.‏ يَعْنِي السِّبَاعَ وَالطَّيْرَ ‏.‏ قَالَ مُسْلِمٌ أَبُو صَفْوَانَ هَذَا هُوَ عَبْدُ اللَّهِ بْنُ عَبْدِ الْمَلِكِ يَتِيمُ ابْنُ جُرَيْجٍ عَشْرَ سِنِينَ كَانَ فِي حَجْرِهِ ‏.‏
Reference : Sahih Muslim 1389a
In-book reference : Book 15, Hadith 570
USC-MSA web (English) reference : Book 7, Hadith 3202
  (deprecated numbering scheme)