BAYHAQI 5018:
from Nāfiʿ —
[Machine] In his final address, he said, "Pray in your tents, pray in the tents. For the Messenger of Allah ﷺ used to instruct the Muadhin, when it was a cold, rainy, or windy night on a journey, saying, 'Pray in the tents.' It is narrated in the Sahih from the Hadith of Ubaidullah."
البيهقي ٥٠١٨:
عن نافع —
فِي آخِرِ نِدَائِهِ أَلَا صَلُّوا فِي رِحَالِكُمْ أَلَا صَلُّوا فِي الرِّحَالِ فَإِنَّ رَسُولَ اللهِ ﷺ كَانَ يَأْمُرُ الْمُؤَذِّنَ إِذَا كَانَتْ لَيْلَةٌ بَارِدَةٌ أَوْ ذَاتُ مَطَرٍ أَوْ ذَاتُ رِيحٍ فِي سَفَرٍ يَقُولُ أَلَا صَلُّوا فِي الرِّحَالِ أَخْرَجَاهُ فِي الصَّحِيحِ مِنْ حَدِيثِ عُبَيْدِ اللهِ
hadithunlocked.com