The Prophet (peace and blessings be upon him) said: "Whoever has an imam, the recitation of the imam counts as his recitation."