It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once the Prophet (peace and blessings be upon him) prayed in a garment—having wrapped it well—and used its extra part to protect himself from the heat and cold of the ground.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2938
Hadith Gradingحکم دارالسلام:حسن لغيره، وهذا إسناد ضعيف