Abdullah bin Abbas reported,

The Prophet ﷺ prostrated during the recitation of Surah Sad and said, "Dawud performed this prostration as repentance, and we perform it as gratitude."

Nasai 958

Sahih

أخبرني إبراهيم بن الحسن المقسمي قال حدثنا حجاج بن محمد عن عمر بن ذر عن أبيه عن سعيد بن جبير

عن ابن عباس

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

النسائي 958صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Commencement
Chapter
Sujud in Surah Najm
Numbering
Darussalam 958
Nasai 958