The Prophet ﷺ said, "Abu Dharr, how will you fare when you live among people who delay the prayer past its proper time?"Abu Dharr said, "What do you command me to do?"He replied, "Pray the prayer at its proper time. Then if you find them praying when you join them, pray with them, and do not say, 'I have already prayed, so I will not pray again.'"
حدثنا محمد بن جعفر حدثنا شعبة عن أيوب عن أبي العالية البراء عن عبد الله بن الصامت
عن النبي ﷺ أنه قال يا أبا ذر كيف أنت إذا بقيت في قوم يؤخرون الصلاة عن وقتها قال فقال لي صل الصلاة لوقتها فإن أدركتهم لم يصلوا فصل معهم ولا تقل إني قد صليت ولا أصلي