The Messenger of Allah ﷺ prayed wrapped in a cloak, using its excess folds to shield himself from the heat and cold of the ground.
حدثنا وكيع حدثنا شريك عن حسين بن عبد الله عن عكرمة
أن رسول الله ﷺ صلى في كساء يتقي بفضوله حر الأرض وبردها
Its isnad is daif, because of Husayn bin Abdullah, and it is a repetition of 2940.