Muwatta Imam Malik Book of Shortening the Prayer, Hadith 70
Yahya related to me from Malik from Nuaym ibn Abdullah al- Mujmirthat Muhammad ibn Abdullah ibn Zayd told him that Abu Masud al Ansari said, "The Messenger of Allah ﷺ came to us at the gathering of Sad ibn Ubada. Bashir ibn Sad said to him, 'Allah has ordered us to ask for blessings on you, Messenger of Allah. How should we do it?' The Messenger of Allah ﷺ remained silent until we wished we had not asked him. Then he told us to say, 'O Allah, bless Muhammad and the family of Muhammad as You blessed Ibrahim, and give baraka to Muhammad and the family of Muhammad as You gave baraka to the family of Ibrahim. In all the worlds You are worthy of Praise and Glorious,' and then give the taslim as you have learnt."
Allahumma salli ala Muhammad wa ali Muhammad kama sallaita Ibrahim, wa baraka ala Muhammad wa ali Muhammad kama baraktaala ali Ibrahim. Fi'l alamin, innaka Hamidu'm - Majid.
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ نُعَيْمِ بْنِ عَبْدِ اللَّهِ الْمُجْمِرِ، عَنْ مُحَمَّدِ بْنِ عَبْدِ اللَّهِ بْنِ زَيْدٍ، أَنَّهُ أَخْبَرَهُ عَنْ أَبِي مَسْعُودٍ الأَنْصَارِيِّ، أَنَّهُ قَالَ أَتَانَا رَسُولُ اللَّهِ ﷺ فِي مَجْلِسِ سَعْدِ بْنِ عُبَادَةَ فَقَالَ لَهُ بَشِيرُ بْنُ سَعْدٍ أَمَرَنَا اللَّهُ أَنْ نُصَلِّيَ عَلَيْكَ يَا رَسُولَ اللَّهِ فَكَيْفَ نُصَلِّي عَلَيْكَ قَالَ فَسَكَتَ رَسُولُ اللَّهِ ﷺ حَتَّى تَمَنَّيْنَا أَنَّهُ لَمْ يَسْأَلْهُ ثُمَّ قَالَ " قُولُوا اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ كَمَا صَلَّيْتَ عَلَى إِبْرَاهِيمَ وَبَارِكْ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ كَمَا بَارَكْتَ عَلَى آلِ إِبْرَاهِيمَ فِي الْعَالَمِينَ إِنَّكَ حَمِيدٌ مَجِيدٌ وَالسَّلاَمُ كَمَا قَدْ عَلِمْتُمْ " .