Sheikh if Im offering sunnah prayer of fajr at home and going to the masjid and yet some minutes are left for jamat then do I have to pray tahiyatul masjid?

If you want to sit down, you must pray it. Otherwise, no problem in standing.*

Please visit here for detailed fatwa information directly from highly respected scholar