Sahih al-Bukhari, Book 11, Hadith 58 (Bukhari 912)

Narrated Abu Huraira:

Allah's Messenger (ﷺ) (p.b.u.h) said, "When the Imam is delivering the Khutba, and you ask your companion to keep quiet and listen, then no doubt you have done an evil act."