Mujahid (may Allah have mercy on him) narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) regarding the prostration in Surah Sad: He said: It is the repentance of a servant or the repentance of a prophet. So Allah commanded Muhammad (peace be upon him) to follow him in this.
Hadith Referenceمسند اسحاق بن راهويه / كتاب التفسير / 585
Hadith Takhrij«بخاري ، كتاب الانبياء ، باب واذكر عبدنا داود الخ ، رقم : 3421 . سنن ترمذي ، ابواب السفر ، باب السجده ص ، رقم : 577 . سنن كبري بيهقي : 319/2 .»