السلام عليكم و رحمة الله و بركاته I did takbeer ihram after the first tasleem before the imam said the second tasleem. And i made up the whole praying with the intention i caught the jamaah. Is this salah valid or did it become sunnah and i have to repeat.

Ustadh AbdulAziz al-Haqqan
2 sayings therefore dont do this again.