“The Messenger of Allah ﷺ said: ‘You may come across people who offer a prayer at the wrong time. If you meet them, then perform prayer in your houses at the time that you know, then pray with them and make that voluntary.” (Using translation from Ibn Mājah 1255)
قَالَ رَسُولُ اللهِ ﷺ لَعَلَّكُ مْ سَتُدْرِكُونَ أَقْوَامًا يُصَلُّونَ الصَّلَاةَ لِغَيْرِ وَقْتِهَا فَإِنْ أَدْرَكْتُمُوهُمْ فَصَلُّوا فِي بُيُوتِكُمْ لِلْوَقْتِ الَّذِي تَعْرِفُونَ ثُمَّ صَلُّوا مَعَهُمْ وَاجْعَلُوهَا سُبْحَةً