كتاب الصلاة
4  
Prayer
(24b)
Chapter: The Congregation and its Excellence - Section 2
(23)
باب الجماعة وفضلها - الفصل الثاني
Mishkat al-Masabih 1070
Thauban reported God’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.
وَعَنْ ثَوْبَانَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " ثَلَاثٌ لَا يَحِلُّ لِأَحَدٍ أَنْ يَفْعَلَهُنَّ: لَا يَؤُمَّنَّ رَجُلٌ قَوْمًا فَيَخُصَّ نَفْسَهُ بِالدُّعَاءِ دُونَهُمْ فَإِنْ فَعَلَ ذَلِكَ فَقَدْ خَانَهُمْ. وَلَا يَنْظُرْ فِي قَعْرِ بَيْتٍ قَبْلَ أَنْ يَسْتَأْذِنَ فَإِنْ فَعَلَ ذَلِكَ فَقَدْ خَانَهُمْ وَلَا يُصَلِّ وَهُوَ حَقِنٌ حَتَّى يَتَخَفَّفَ ". رَوَاهُ أَبُو دَاوُدَ وللترمذي نَحوه
  ضَعِيف   (الألباني) حكم   :
Reference : Mishkat al-Masabih 1070
In-book reference : Book 4, Hadith 488