Sahih al-Bukhari 3421
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).
حَدَّثَنَا مُحَمَّدٌ، حَدَّثَنَا سَهْلُ بْنُ يُوسُفَ، قَالَ سَمِعْتُ الْعَوَّامَ، عَنْ مُجَاهِدٍ، قَالَ قُلْتُ لاِبْنِ عَبَّاسٍ أَسْجُدُ فِي ‏{‏ص‏}‏ فَقَرَأَ ‏{‏وَمِنْ ذُرِّيَّتِهِ دَاوُدَ وَسُلَيْمَانَ‏}‏ حَتَّى أَتَى ‏{‏فَبِهُدَاهُمُ اقْتَدِهْ‏}‏ فَقَالَ نَبِيُّكُمْ صلى الله عليه وسلم مِمَّنْ أُمِرَ أَنْ يَقْتَدِيَ بِهِمْ‏.‏