Sayyiduna Abu Dharr Ghifari (may Allah be pleased with him) narrates: My beloved (the Prophet, peace and blessings be upon him) advised me regarding three things: To obey and follow (the ruler), even if he is a slave with mutilated nose and ears. When you make broth, add more water to it. Then look at one of your neighbors’ houses and give them a suitable portion from it. Perform the prayer at its (prescribed) time. If you find the imam has already performed the prayer, then you have protected your prayer; otherwise, (if you perform it again with the imam) your second prayer will be considered voluntary.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1718
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (1368)، «صحيح سنن ابن ماجه» (2862)، «الإرواء» (483).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم، رجاله رجال الصحيحين غير عبد الله بن الصامت فإنه من رجال مسلم، حبان: هو ابن موسى بن سوار.