It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) would wrap himself in a cloth and pray in it, and with its extra part, he would protect himself from the heat and cold of the ground.
Hadith Referenceالفتح الربانی / أبواب صفة الصلاة / 1740