Ibn 'Umar reported that he summoned (people) to pray on a cold, windy and rainy night, and then observed at the end of the Adhin:
Pray in your dwellings, pray in your dwellings, and then said: When it was a cold night or it was raining in a journey the Messenger of Allah (ﷺ) used to command the Mu'adhdhin to announce: Pray in your dwellings.
Reference: Sahih Muslim 697 b In-book : Book 6, Hadith 32 USC-MSA web (English) : Book 4, Hadith 1488 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.