A speaker gave sermon before the prophet (May peace be upon him). He said : he who obeys Allah and his Prophet will follow the right course, and he who disobeys them. He (The prophet) said: get up; he said: go away, a bad speaker you are. (Using translation from Abū Dāʾūd 4981)
أَنَّ خَطِيبًا خَطَبَ عِنْدَ النَّبِيِّ ﷺ فَقَالَ مَنْ يُطِعِ اللَّهَ وَرَسُولَهُ فَقَدْ رَشَدَ وَمَنْ يَعْصِهِمَا فَقَدْ غَوَى قَالَ «قُمْ أَوِ اذْهَبْ فَبِئْسَ الْخَطِيبُ أَنْتَ»