Shiekh I can to a mosques to pray ashr but found out they combine duhur and ashr , but I join another congregation to pray with them in the masjid but he did only the iqamah and we prayed the salah so is my salah valid or do I have to repeat

Ustadh AbdulAziz al-Haqqan
Go to another masjid where they don't combine