Kindly refer to the following link(s):
What happens if the Imam faints? Should congregation continue or assist him?
If a person faints while praying what should people praying next to him do?
What to do when the Imam breaks his wudu (passes wind) while leading the prayer?