It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once I saw the Prophet (peace and blessings be upon him) praying in a garment—having wrapped it well—and with its extra part, he would protect himself from the heat and cold of the ground.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2760