The Prophet (peace and blessings be upon him) said: "Whoever catches one rak'ah of the prayer has caught that prayer."