Mujahid reported,

I asked Ibn Abbas, "Should we perform prostration when reciting Surah Sad?"He recited, "And from his descendants Dawud and Sulayman" until he reached "so follow their guidance" [Anam 6:84–90], then Ibn Abbas رضي الله عنهم said, "Your Prophet ﷺ is among those who were commanded to follow their guidance."

Bukhari 3421

Sahih

حدثنا محمد حدثنا سهل بن يوسف قال سمعت العوام

عن مجاهد قال

قلت لابن عباس أنسجد في ص فقرأ {ومن ذريته داود وسليمان} حتى أتى {فبهداهم اقتده} فقال ابن عباس رضي الله عنهما نبيكم ﷺ ممن أمر أن يقتدي بهم

البخاري 3421صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Hadiths of the prophets
Chapter
And remember Our servant Dawud, the possessor of strength; indeed, he was one who repeatedly turned back to Allah" to His saying, "and discernment in speech
Numbering
Darussalam 3421
Bukhari 3421