Sayyidina Abu Huraira (RA) narrated that the Prophet (SAW) said, “If anyone gets one raka’ah of salah (with congregation) then he got the salah.”
[Ahmed 2669, Bukhari 580, Muslim 607, Abu Dawud 1121, Nisai 49, Ibn e Majah 1122]
--------------------------------------------------------------------------------