Nafi reported,

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

Muslim 1600

Sahih

حدثنا يحيى بن يحيى قال قرأت على مالك

عن نافع

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

مسلم 1600صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Prayer in one's dwelling place due to rain
Numbering
Darussalam 1600
Muslim 1600