They said, "Messenger of Allah, we have been commanded to send blessings upon you. How should we send blessings upon you?"He replied, "Say, 'O Allah, send blessings upon Muhammad, his wives, and his offspring, as You sent blessings upon Ibrahim, and bestow Your favor upon Muhammad, his wives, and his offspring, as You bestowed Your favor upon the family of Ibrahim throughout the worlds. Indeed, You are Praiseworthy and Glorious.'"
حدثنا عمار بن طالوت حدثنا عبد الملك بن عبد العزيز الماجشون حدثنا مالك بن أنس عن عبد الله بن أبي بكر بن محمد بن عمرو بن حزم عن أبيه عن عمرو بن سليم الزرقي
أنهم قالوا يا رسول الله أمرنا بالصلاة عليك فكيف نصلي عليك فقال قولوا اللهم صل على محمد وأزواجه وذريته كما صليت على إبراهيم وبارك على محمد وأزواجه وذريته كما باركت على آل إبراهيم في العالمين إنك حميد مجيد
Sourced. Bukhari narrated it in the Book of the Prophets, chapter (10), hadith no. 3369, and Muslim in the Book of Prayer, chapter on invoking blessings on the Prophet after the tashahhud, hadith no. 407, both from the hadith of Malik through this same chain.