Mishkat
al-Masabih
مشكاة المصابيح
Prayer
كتاب الصلاة
Chapter 24b: The Congregation and its Excellence - Section 2
باب الجماعة وفضلها - الفصل الثاني
Mishkat al-Masabih 1070
Thauban reported Allah's Messenger ﷺ as saying, “There are three things which are unlawful for anyone to do. A man must not act as imam for others in prayer and make a supplication for himself excluding them, for if he does that he has acted treacherously towards them. No one must look inside a house before asking permission to enter, for if he does so he has acted treacherously towards [its inhabitants]. And no one should pray while retaining urine, but should first relieve himself.” Abu Dawud transmitted it, and Tirmidhi has something similar.
وَعَنْ ثَوْبَانَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " ثَلَاثٌ لَا يَحِلُّ لِأَحَدٍ أَنْ يَفْعَلَهُنَّ: لَا يَؤُمَّنَّ رَجُلٌ قَوْمًا فَيَخُصَّ نَفْسَهُ بِالدُّعَاءِ دُونَهُمْ فَإِنْ فَعَلَ ذَلِكَ فَقَدْ خَانَهُمْ. وَلَا يَنْظُرْ فِي قَعْرِ بَيْتٍ قَبْلَ أَنْ يَسْتَأْذِنَ فَإِنْ فَعَلَ ذَلِكَ فَقَدْ خَانَهُمْ وَلَا يُصَلِّ وَهُوَ حَقِنٌ حَتَّى يَتَخَفَّفَ ". رَوَاهُ أَبُو دَاوُدَ وللترمذي نَحوه
In-book reference: Mishkat al-Masabih Book 4 Chapter 24b Hadith 1