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—wrapping it well around himself—and used its extra part to protect himself from the heat and cold of the ground.