The announcer of the Messenger of Allah ﷺ announced for that (to pray at homes) at Medina on a rainy night or a cold morning. Abu Dawud said: This tradition has also been narrated by Yahya b. Sa’id al-Ansari from al-Qasim from Ibn ‘Umar from the Prophet ﷺ. This version adds the words “During the journey.”
نَادَى مُنَادِي رَسُولِ اللَّهِ ﷺ بِذَلِكَ فِي الْمَدِينَةِ فِي اللَّيْلَةِ الْمَطِيرَةِ وَالْغَدَاةِ الْقَرَّةِ