So if a person starts the prayer within its time and finishes after its time, that does not affect his prayer. For this reason, it was narrated from Abu Bakr al-Siddiq, may Allah be pleased with him, that he led his companions in prayer, may Allah be pleased with him, while he was the caliph.