Abdullah bin Abbas reported,

The Prophet ﷺ said regarding the prostration in Surah Sad, "The Prophet of Allah Dawud performed it as repentance, and we perform it as gratitude."

Azami 3021

Sahih

عن ابن عباس

أن النبي ﷺ قال في سجدة {ص}: سجدها نبي الله داود توبة، وسجدناها شكرا.

الأعظمي 3021صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Prostration of recitation, gratitude, and signs
Section
Sajdah of Surah Sad is a sajdah of gratitude, not of recitation
Numbering
Jami al-Kamil 3021 (2nd edition)
Azami 3021