ANSWER:

What you did was obligatory upon you if there was no one else to help him. You did the right thing but you should have prayed it with the other person in congregation who also interrupted his prayer.

I was in congregation yst for my asar prayers, a brother beside me suddenly collapsed fearing the worst I interrupted my salah and went to his aid with another brother who did the same by the time he regained consciousness the congregational prayers had finished and I redid my asar alone. After my prayers I was approached by a elderly person and ticked off for gg to his aid inbetween my prayer

Prayer |