Sahih al-Bukhari 3421
Book 60: Prophets · Narrated by Mujahid
Arabic
حَدَّثَنَا مُحَمَّدٌ، حَدَّثَنَا سَهْلُ بْنُ يُوسُفَ، قَالَ سَمِعْتُ الْعَوَّامَ، عَنْ مُجَاهِدٍ، قَالَ قُلْتُ لاِبْنِ عَبَّاسٍ أَسْجُدُ فِي {ص} فَقَرَأَ {وَمِنْ ذُرِّيَّتِهِ دَاوُدَ وَسُلَيْمَانَ} حَتَّى أَتَى {فَبِهُدَاهُمُ اقْتَدِهْ} فَقَالَ نَبِيُّكُمْ صلى الله عليه وسلم مِمَّنْ أُمِرَ أَنْ يَقْتَدِيَ بِهِمْ.
English translation
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)
Reference: Sahih al-Bukhari 3421, Book of Prophets. English translation by Dr. Muhammad Muhsin Khan.