Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: the Prophet (peace and blessings be upon him) was commanded to prostrate on seven limbs and to gather up his hair or his clothes.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10814