Abu Humayd al-Saidi informed him that they said, "Messenger of Allah, how do we send blessings upon you?"He replied, "Say, 'O Allah, send blessings upon Muhammad, his wives, and his descendants, as You sent blessings upon the family of Ibrahim. And bestow Your grace upon Muhammad, his wives, and his descendants, as You bestowed Your grace upon the family of Ibrahim. Indeed, You are Praiseworthy, Glorious.'"
حدثنا القعنبي عن مالك ح و حدثنا ابن السرح أخبرنا ابن وهب أخبرني مالك عن عبد الله بن أبي بكر بن محمد بن عمرو بن حزم عن أبيه
أنه قال أخبرني أبو حميد الساعدي أنهم قالوا يا رسول الله كيف نصلي عليك قال قولوا اللهم صل على محمد وأزواجه وذريته كما صليت على آل إبراهيم وبارك على محمد وأزواجه وذريته كما باركت على آل إبراهيم إنك حميد مجيد
Bukhari narrated it in the Book of the Prophets, chapter 10, hadith 3369, and Muslim in the Book of Prayer, chapter on invoking blessings on the Prophet after the tashahhud, hadith 407, both from the hadith of Malik, and it is found in Muwatta (Yahya) 1/165.