Language:
كتاب الأحكام
93
Judgments (Ahkaam)
(13)
Chapter: Can a judge give a judgement in an angry mood?
(13)
باب هَلْ يَقْضِي الْحَاكِمُ أَوْ يُفْتِي وَهْوَ غَضْبَانُ
Sahih al-Bukhari 7159

Narrated Abu Mas`ud Al-Ansari:

A man came to Allah's Messenger (ﷺ) and said, "O Allah's Messenger (ﷺ)! By Allah, I fail to attend the morning congregational prayer because so-and-so (i.e., Mu`adh bin Jabal) prolongs the prayer when he leads us for it." I had never seen the Prophet (ﷺ) more furious in giving advice than he was on that day. He then said, "O people! some of you make others dislike (good deeds, i.e. prayers etc). So whoever among you leads the people in prayer, he should shorten it because among them there are the old, the weak and the busy (needy having some jobs to do). (See Hadith No. 90, Vol. 1)

حَدَّثَنَا مُحَمَّدُ بْنُ مُقَاتِلٍ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا إِسْمَاعِيلُ بْنُ أَبِي خَالِدٍ، عَنْ قَيْسِ بْنِ أَبِي حَازِمٍ، عَنْ أَبِي مَسْعُودٍ الأَنْصَارِيِّ، قَالَ جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ، إِنِّي وَاللَّهِ لأَتَأَخَّرُ عَنْ صَلاَةِ الْغَدَاةِ مِنْ أَجْلِ فُلاَنٍ، مِمَّا يُطِيلُ بِنَا فِيهَا‏.‏ قَالَ فَمَا رَأَيْتُ النَّبِيَّ صلى الله عليه وسلم قَطُّ أَشَدَّ غَضَبًا فِي مَوْعِظَةٍ مِنْهُ يَوْمَئِذٍ، ثُمَّ قَالَ ‏ "‏ يَا أَيُّهَا النَّاسُ، إِنَّ مِنْكُمْ مُنَفِّرِينَ، فَأَيُّكُمْ مَا صَلَّى بِالنَّاسِ فَلْيُوجِزْ، فَإِنَّ فِيهِمُ الْكَبِيرَ وَالضَّعِيفَ وَذَا الْحَاجَةِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 7159
In-book reference : Book 93, Hadith 23
USC-MSA web (English) reference : Vol. 9, Book 89, Hadith 273
  (deprecated numbering scheme)