The Messenger of Allah ﷺ said, "You may live to see people who pray the prayer outside its proper time. If you encounter them, pray in your homes at the time you know to be correct, then pray with them and let that second prayer count as a voluntary one."
حدثنا أبو بكر حدثنا عاصم عن زر
قال رسول الله ﷺ لعلكم ستدركون أقواما يصلون صلاة لغير وقتها فإذا أدركتموهم فصلوا في بيوتكم في الوقت الذي تعرفون ثم صلوا معهم واجعلوها سبحة