When joining the prayer late, are the rak'ahs you catch with the imam your first or your last?
Prayer & PurificationQ&A answerQ&AThe Fiqh of Salah17 Oct 2022ul58GZKiYwMThe video starts at 48:31, where this question begins.
The question as asked When somebody joins the prayer late and catches the last rak'ah or the last two rak'ahs, are those rak'ahs his first or his last?
The answer
And this is a classic controversy in the fiqh books, and both opinions have evidences from the Sunnah. But inshaAllah, what makes more sense is that his first rak'ahs, which are the imam's last rak'ahs, will count as his first rak'ahs. Some scholars say that he should consider the imam's rak'ahs to be his rak'ahs. So if the imam is in the third rak'ah, he is actually praying the third rak'ah and fourth rak'ah, then he makes up the first two. It's confusing, it's illogical, and it will mess your mind up anyway.
And this goes back to how you understand: what does it mean, fa-atimmu and fa-qdu? There are two versions of the hadith. "Wa ma fatakum fa-atimmu": you complete what's remaining. "Fa-qdu": what you missed, make up what you missed. Both hadith are there. So do you have to make itmam? Do you have to make qada'? Both versions are there. And at the end of the day, it's possible to interpret both of them to mean you finish up what is remaining for you to finish up.
An edited transcript of the video, lightly cleaned up for reading. The video is the source; if the text and the video differ, the video is correct.
Related questions
Can a latecomer who only caught the imam's final taslim lead another congregation?
If someone faints during salah, may we break our prayer and cross the rows to fetch a doctor?
Should the follower recite al-Fatihah behind the imam in loud prayers, silent prayers, or both?
Is congregational prayer valid when worshippers stand apart in the rows for social distancing?
Can I pray in my Makkah hotel following the Haram's congregation?
Is it from the Sunnah for someone to repeat the imam's words aloud, like 'Rabbana wa lakal hamd' in Makkah?
In long summer days, can Isha be prayed early so one can go to sleep?
Can you shorten the prayer when traveling for a vacation rather than for business?