I entered the mosque and the
adhaan was being given for the prayer. Should I pray Tahiyyat al-Masjid or wait until the
adhaan finishes?

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.