Abu Malih reported,

I went out on a rainy night, and when I returned I asked permission to enter.My father asked, "Who is this?"I replied, "Abu Malih."He said, "I remember when we were with the Messenger of Allah ﷺ on the day of Hudaybiyah. Rain fell on us, but it did not even wet the bottoms of our sandals. Then the caller of the Messenger of Allah ﷺ announced, 'Pray in your dwellings.'"

Azami 2380

Sahih

عن أبي المليح قال

خرجت في ليلة مطيرة، فلما رجعت استفتحت فقال أبي: من هذا؟ قال: أبو المليح، قال: لقد رأيتنا مع رسول الله ﷺ يوم الحديبية، وأصابتنا سماء لم تبل أسافل نعالنا، فنادى منادي رسول الله ﷺ: صلوا في رحالكم.

الأعظمي 2380صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Congregational prayer
Section
Permission to leave the congregational prayer due to rain or excuse
Numbering
Jami al-Kamil 2380 (2nd edition)
Azami 2380