Narrated Anas bin Malik:
We used to pray with the Prophet in scorching heat, and if someone of us could not put his face on the earth (because of the heat) then he would spread his clothes and prostrate over them.
Sahih Bukhari, Volume 2, Book 22, Number 299