Allah's Messenger (ﷺ) said, "Whoever could get one rak`a of a prayer, (in its proper time) he has got the prayer."
Sahih al-Bukhari Book 9, Hadith 56