It is narrated from Sayyidah Aishah (may Allah be pleased with her) that she had borrowed a necklace from Sayyidah Asma' (may Allah be pleased with her), and it fell from her neck. She mentioned this to the Messenger of Allah (peace and blessings be upon him). He (peace and blessings be upon him) sent some men to search for it; they searched and found it, but meanwhile the time of prayer came, so they prayed without purification. Then they returned to the Messenger of Allah (peace and blessings be upon him) and mentioned this, and Allah revealed the concession. At this, Usayd bin Hudayr (may Allah be pleased with him) said: "May Allah reward you with good! By Allah, no matter you dislike befalls you except that Allah places good in it for you and for the believers."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 19435