Sahih Muslim 1389 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
يَتْرُكُونَ الْمَدِينَةَ عَلَى خَيْرِ مَا كَانَتْ لاَ يَغْشَاهَا إِلاَّ الْعَوَافِي - يُرِيدُ عَوَافِيَ السِّبَاعِ وَالطَّيْرِ - ثُمَّ يَخْرُجُ رَاعِيَانِ مِنْ مُزَيْنَةَ يُرِيدَانِ الْمَدِينَةَ يَنْعِقَانِ بِغَنَمِهِمَا فَيَجِدَانِهَا وَحْشًا حَتَّى إِذَا بَلَغَا ثَنِيَّةَ الْوَدَاعِ خَرَّا عَلَى وُجُوهِهِمَا "
Abu Huraira (Allah be pleased with him) heard Allah's Messenger (ﷺ) say:
They (the residents of) Medina will abandon Medina whereas it is good for them and it will be haunted by beasts and birds, and two shepherds will come out from Muzainah intending (to go) towards Medina and tending their herd, and will find nothing but wilderness there until when they will reach the mountain path of Wada, they will fall down on their faces.
Full reference and source
Sahih Muslim 1389 b In-book : Book 15, Hadith 571 USC-MSA web (English) : Book 7, Hadith 3203 (deprecated)
View source on Sunnah.com (opens in a new tab)