Praise be to Allah.Praise be to Allaah.
It is better to respond to the adhaan first, then pray Tahiyyat al-Masjid, so as to combine two virtuous deeds. But the issue is flexible.
And Allaah is the source of strength. May Allaah bless our Prophet Muhammad and his family and companions.