Narrated Urwa's father: Aisha said, "I borrowed a necklace from Asma' and it was lost. So Allah's Messenger (ﷺ) sent a man to search for it and he found it. Then the time of the prayer became due and there was no water. They prayed (without ablution) and informed Allah's Messenger (ﷺ) about it, so the verse of Tayammum was revealed." Usaid bin Hudair said toAisha, “May Allah reward you. By Allah, whenever anything happened which you did not like, Allah brought good for you and for the Muslims in that.”
Sahih
Sahih al-Bukhari, 336
In-Book Reference: Book 7, Hadith 3
USC-MSA web (English) reference: Vol. 1, Book 7, Hadith 332