They asked, "Messenger of Allah, how should we send blessings upon you?"The Messenger of Allah ﷺ replied, "Say, 'O Allah, send blessings upon Muhammad, his wives, and his offspring,'" and in the narration of Harith, "as You sent blessings upon the family of Ibrahim, and bless Muhammad, his wives, and his offspring."Both narrators reported, "as You blessed the family of Ibrahim. Indeed, You are Praiseworthy, Glorious."Abu Abdul-Rahman said, Qutayba related this hadith to us twice, and it may be that part of it was dropped from his narration.
أخبرنا قتيبة بن سعيد عن مالك والحارث بن مسكين قراءة عليه وأنا أسمع عن ابن القاسم حدثني مالك عن عبد الله بن أبي بكر بن محمد بن عمرو بن حزم عن أبيه عن عمرو بن سليم الزرقي قال
أنهم قالوا يا رسول الله كيف نصلي عليك فقال رسول الله ﷺ قولوا اللهم صل على محمد وأزواجه وذريته في حديث الحارث كما صليت على آل إبراهيم وبارك على محمد وأزواجه وذريته قالا جميعا كما باركت على آل إبراهيم إنك حميد مجيد قال أبو عبد الرحمن أنبأنا قتيبة بهذا الحديث مرتين ولعله أن يكون قد سقط عليه منه شطر
Bukhari narrated it in the Book of the Prophets, chapter (10), hadith no. 3369 and no. 6360, and Muslim in the Book of Prayer, chapter on prayer upon the Prophet ﷺ after the tashahhud, hadith no. 407, from the hadith of Malik through the same route. It is also found in the Muwatta (Yahya's recension), 1/165, and in Kubra, hadith no. 1217.