Nafi' reported: Ibn Umar made the call to prayer at Dajnan (a place between Mecca and Medina). Then he announced: "Offer prayer in your dwellings:" He then narrated a tradition from the Messenger of Allah ﷺ. He used to command an announcer who made the call to prayer. He then announced: "Pray in your dwellings" on a cold or rainy night during journey. Abu Dawud said: This tradition has been narrated by Hammad b. Salamah from Ayyub and 'Ubaid Allah. In his version he added: During journey on a cold or a rainy night.
عَنْ رَسُولِ اللَّهِ ﷺ أَنَّهُ كَانَ يَأْمُرُ الْمُنَادِيَ فَيُنَادِي بِالصَّلاَةِ ثُمَّ يُنَادِي أَنْ صَلُّوا فِي رِحَالِكُمْ فِي اللَّيْلَةِ الْبَارِدَةِ وَفِي اللَّيْلَةِ الْمَطِيرَةِ فِي السَّفَرِ