Abdullah bin Umar reported,

He gave the call to prayer on a cold and windy night, then announced, "Pray in your dwellings."He then said, "The Messenger of Allah ﷺ used to order the muezzin, on a cold or rainy night, to announce, 'Pray in your dwellings.'"

Azami 2375

Sahih

عن ابن عمر

أنه أذن بالصلاة في ليلة ذات برد وريح فقال: ألا صلوا في الرحال، ثم قال: إن رسول الله ﷺ كان يأمر بالمؤذن إذا كانت ليلة باردة ذات مطر يقول: ألا صلوا في الرحال.

الأعظمي 2375صحيح
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 2375 (2nd edition)
Azami 2375