From Sahih Muslim (Hadith 1747):
Zaid b. Arqam reported that the Messenger of Allah (ﷺ) went out to the people of Quba' and saw them observing prayer; upon this he said:The prayer of the penitent should be observed when the young weaned camels feel heat of the sun
Reference: Muslim 1747