It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that once the Prophet (peace and blessings be upon him) said while delivering a sermon: When any one of you comes at a time when the Imam has already come out, he should still perform two rak‘ahs.