صحيح البخاري Sahih Bukhari كتاب أحاديث الأنبياء The Book of The Stories of The Prophets
بَابُ: {وَاذْكُرْ عَبْدَنَا دَاوُدَ ذَا الأَيْدِ إِنَّهُ أَوَّابٌ} إِلَى قَوْلِهِ: {وَفَصْلَ الْخِطَابِ} :

(39) Chapter. The Statement of Allah: “...And remember Our slave Dawud (David), endued with power. Verily, he was ever oft-returning in all matters and in repentance (toward Allah)... (up to)... And sound judgement in speech and decision." (V.38:17-20)

2 hadith
Hadith 3421
حَدَّثَنَا مُحَمَّدٌ ، حَدَّثَنَا سَهْلُ بْنُ يُوسُفَ ، قَالَ : سَمِعْتُ الْعَوَّامَ ، عَنْ مُجَاهِدٍ ، قَالَ : قُلْتُ : لِابْنِ عَبَّاسٍ أَسْجُدُ فِي ص فَقَرَأَ وَمِنْ ذُرِّيَّتِهِ دَاوُدَ وَسُلَيْمَانَ حَتَّى أَتَى فَبِهُدَاهُمُ اقْتَدِهْ سورة الأنعام آية 84 - 90 فَقَالَ : ابْنُ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا نَبِيُّكُمْ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مِمَّنْ أُمِرَ أَنْ يَقْتَدِيَ بِهِمْ .
Narrated Mujahid: I asked Ibn `Abbas, "Should we perform a prostration on reciting Surat-Sa`d?" He recited (the Sura) including: 'And among his progeny, David, Solomon..(up to)...so follow their guidance (6.84-91) And then he said, "Your Prophet is amongst those people who have been ordered to follow them (i.e. the preceding apostles).
Hadith Reference Sahih Bukhari / The Book of The Stories of The Prophets / Hadith: 3421
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 3422
حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ ، حَدَّثَنَا وُهَيْبٌ ، حَدَّثَنَا أَيُّوبُ ، عَنْ عِكْرِمَةَ ، عَنْ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا ، قَالَ : " لَيْسَ ص مِنْ عَزَائِمِ السُّجُودِ ، وَرَأَيْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَسْجُدُ فِيهَا " .
Narrated Ibn `Abbas: The prostration in Sura-Sa`d is not amongst the compulsory prostrations, though I saw the Prophet prostrating on reciting it.
Hadith Reference Sahih Bukhari / The Book of The Stories of The Prophets / Hadith: 3422
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة