Ibn ‘Abbas said that the Prophet prostrated himself when reciting Sad (Al-Qur’an; 38) and said, "David made this prostration in repentance, but we do it out of gratitude.” Nasa’i transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب الصلاة / 1038
Hadith Gradingالألبانی:صَحِيح | زبیر علی زئی:إسناده صحيح
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده صحيح، رواه النسائي (2/ 159 ح 958) وأعل بما لا يقدح.»