During one Fajr prayer in jamat, I said 3 salams by mistake, 2 salams before the Imam said the 2nd salam and 1 salam after the Imam said his 2nd salam. Now, my question: was my salah valid, if not what should I do?

Answered according to Hanafi Fiqh by Darulifta-Deoband.org

بسم الله الرحمن الرحيم

(Fatwa: 163/146/D=02/1435)

Your salah was valid.

Allah knows Best!

Darul Ifta,
Darul Uloom Deoband