Kindly reference the following link(s):
Tahiyatul Masjid before Fajr if you prayed the Sunnah at home
Should I pray tahiyatul masjid everytime I enter the Masjid?
Is Tahiyatul Masjid mandatory or sunnah? Am I sinful if I leave it intentionally?
Praying tahiyyatul masjid when Imam has already started the prayer
Should I pray Tahiyatul Masjid or join the congregation?
Tahiyatul Masjid during Friday khutbah