Zayd bin Wahb said that Sayyiduna Umar (may Allah be pleased with him) said: In intense heat, one should prostrate on his garment, and when the crowd is heavy, one should prostrate on the back of his brother.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجمعة / 5630