(11) The Book of the Commencement of the Prayer
كتاب الافتتاح
(48) Chapter: The prostration related to reading quran: the prostration in Sad (38)
(48) باب سُجُودِ الْقُرْآنِ السُّجُودِ فِي ص
Sunan an-Nasa'i 957 
It was narrated from Ibn Abbas that:
The Prophet (ﷺ) prostrated in Sad and said: "Dawud did this prostration in repentance and we do it in thanksgiving."
أَخْبَرَنِي إِبْرَاهِيمُ بْنُ الْحَسَنِ الْمِقْسَمِيُّ، قَالَ حَدَّثَنَا حَجَّاجُ بْنُ مُحَمَّدٍ، عَنْ عُمَرَ بْنِ ذَرٍّ، عَنْ أَبِيهِ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم سَجَدَ فِي ‏{‏ ص ‏}‏ وَقَالَ ‏ "‏ سَجَدَهَا دَاوُدُ تَوْبَةً وَنَسْجُدُهَا شُكْرًا ‏"‏ ‏.‏
Grade :  Sahih (Darussalam)
Reference : Sunan an-Nasa'i 957
In-book reference : Book 11, Hadith 82
English translation : Vol. 2, Book 11, Hadith 958