“The Messenger of Allah (ﷺ) said: ‘Whoever catches one Rak’ah of prayer, he has caught it.’”
Sunan Ibn Majah Book 5, Hadith 320