وَعَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي لَيْلَى قَالَ: لَقِيَنِي كَعْبُ بْنُ عُجْرَةَ فَقَالَ أَلَا أُهْدِي لَكَ هَدِيَّةً سَمِعْتُهَا مِنَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقُلْتُ بَلَى فَأَهْدِهَا لِي فَقَالَ سَأَلْنَا رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقُلْنَا يَا رَسُولَ اللَّهِ كَيْفَ الصَّلَاةُ عَلَيْكُمْ أَهْلَ الْبَيْتِ فَإِنَّ اللَّهَ قَدْ عَلَّمَنَا كَيْفَ نُسَلِّمُ عَلَيْكُم قَالَ: «قُولُوا اللَّهُمَّ صل عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ إِنَّكَ حُمَيْدٌ مجيد اللَّهُمَّ بَارِكْ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ كَمَا بَارَكْتَ عَلَى إِبْرَاهِيمَ وَعَلَى آلِ إِبْرَاهِيمَ إِنَّك حميد مجيد» . إِلَّا أَنَّ مُسْلِمًا لَمْ يَذْكُرْ " عَلَى إِبْرَاهِيمَ فِي الْمَوْضِعَيْنِ

We asked God’s Messenger this question, “How is blessing to be invoked on you who belong to the prophetic family? God has taught us how to salute you.” He told us to say, “O God, bless Muhammad and Muhammad’s family as Thou didst bless Abraham and Abraham’s family. Thou art indeed praiseworthy and glorious. O God, grant favours to Muhammad and Muhammad’s family as Thou didst grant favours to Abraham and Abraham’s family. Thou art indeed praiseworthy and glorious.”

(Bukhari and Muslim, but Muslim did not mention Abraham in the two places.)