Abu Hurairah reported,

I heard the Messenger of Allah ﷺ say, "They will leave Madinah in the best state it has ever been, with nothing roaming it except wild creatures," meaning the predatory beasts and birds. "The last to be gathered will be two shepherds from Mazina heading toward Madinah, calling out to their sheep. When they reach it, they will find it desolate, and when they arrive at Thaniyyat al-Wada, they will fall down on their faces."

Azami 10641

Sahih

عن أبي هريرة قال

سمعت رسول الله ﷺ يقول: يتركون المدينة على خير ما كانت، لا يغشاها إلا العواف-يريد عوافي السباع والطير- وآخر من يحشر راعيان من مزينة يريدان المدينة ينعقان بغنمهما فيجدانها وحشا حتى إذا بلغا ثنية الوداع خرا على وجوههما.

الأعظمي 10641صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the lands
Chapter
Virtue of the Prophet's Madinah
Section
Those who turn away from Madinah
Numbering
Jami al-Kamil 10641 (2nd edition)
Azami 10641