حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، أَنْبَأَنَا أَبُو بَكْرِ بْنُ عَيَّاشٍ، عَنْ عَاصِمٍ، عَنْ زِرٍّ، عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " لَعَلَّكُمْ سَتُدْرِكُونَ أَقْوَامًا يُصَلُّونَ الصَّلاَةَ لِغَيْرِ وَقْتِهَا. فَإِنْ أَدْرَكْتُمُوهُمْ فَصَلُّوا فِي بُيُوتِكُمْ لِلْوَقْتِ الَّذِي تَعْرِفُونَ. ثُمَّ صَلُّوا مَعَهُمْ وَاجْعَلُوهَا سُبْحَةً " .
It was narrated that ‘Abdullah bin Mas’ud said:“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.”
Grade (as given by the source): Al-Albani: Hasan Sahih Muhammad Fouad Abd al-Baqi: Hasan Sahih Zubair Ali Zai: Sahih