The Messenger of Allah ﷺ struck my thigh and said, "How will you be when you find yourself among people who delay the prayer past its proper time?"He said, "What do you command me to do?"He replied, "Pray the prayer at its proper time, then go about your business. If the prayer is then called while you are in the mosque, pray with them."
و حدثني يحيى بن حبيب الحارثي حدثنا خالد بن الحارث حدثنا شعبة عن بديل قال سمعت أبا العالية يحدث عن عبد الله بن الصامت
قال رسول الله ﷺ وضرب فخذي كيف أنت إذا بقيت في قوم يؤخرون الصلاة عن وقتها قال قال ما تأمر قال صل الصلاة لوقتها ثم اذهب لحاجتك فإن أقيمت الصلاة وأنت في المسجد فصل