Aisha said, "I borrowed a necklace from Asma' and it was lost. So Messenger of Allah ﷺ 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 Messenger of Allah ﷺ about it, so the verse of Tayammum was revealed." Usaid bin Hudair said to ʿAisha, "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." (Using translation from Bukhārī 336)
أَنَّهَا اسْتَعَارَتْ مِنْ أَسْمَاءَ قِلَادَةً فَهَلَكَتْ فَبَعَثَ رَسُولُ اللهِ ﷺ رِجَالًا فِي طَلَبِهَا فَوَجَدُوهَا فَأَدْرَكَتْهُمُ الصَّلَاةُ وَلَيْسَ مَعَهُمْ مَاءٌ فَصَلَّوْا بِغَيْرِ وُضُوءٍ فَشَكَوْا ذَلِكَ إِلَى النَّبِيِّ ﷺ فَأَنْزَلَ اللهُ ﷻ التَّيَمُّمَ فَقَالَ أُسَيْدُ بْنُ حُضَيْرٍ لِعَائِشَةَ جَزَاكِ اللهُ خَيْرًا فَوَاللهِ مَا نَزَلَ بِكِ أَمْرٌ تَكْرَهِينَهُ إِلَّا جَعَلَ اللهُ ﷻ لَكِ وَلِلْمُسْلِمِينَ فِيهِ خَيْرًا