Sunan Abi Dawud, Hadith 1054

Narrated Usamah ibn Umayr al-Huzali: Usamah attended the Prophet on the occasion of the treaty of al-Hudaybiyyah on Friday. The rain fell as little as the soles of the shoes of the people were not set. He (the Prophet) commanded them to offer Friday prayer in their dwellings.

حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ، قَالَ سُفْيَانُ بْنُ حَبِيبٍ خَبَّرَنَا عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ أَبِي قِلاَبَةَ، عَنْ أَبِي الْمَلِيحِ، عَنْ أَبِيهِ، أَنَّهُ شَهِدَ النَّبِيَّ صلى الله عليه وسلم زَمَنَ الْحُدَيْبِيَةِ فِي يَوْمِ جُمُعَةٍ وَأَصَابَهُمْ مَطَرٌ لَمْ تَبْتَلَّ أَسْفَلُ نِعَالِهِمْ فَأَمَرَهُمْ أَنْ يُصَلُّوا فِي رِحَالِهِمْ ‏.‏

sunnah.com