It wasnarrated from Abu Sa'eed that the Messenger of Allah (ﷺ)said:
"Allah rejoices more over the repentance of His slave, than amanwho loses his mount in a barren land, and he searches for it untilhegets tired and covers his face with his garment, and while he islikethat, he heard the footsteps of his mount where he lost it, so helifts the garment from his face and there is his mount."
English reference: Vol. 5, Book 37, Hadith 4249
Arabic reference: Book 37, Hadith 4390