https://abukhadeejah.com/tahiyyat-al-masjid-the-prayer-before-sitting-down-in-the-masjid-in-the-forbidden-times/
Praying Tahiyyat al-Masjid (the Prayer Before Sitting Down in the Masjid) in the Forbidden Times after Fajr and ʿAsr — as explained by Ibn Al-Qayyim, Ibn Bāz, and Ibn ʿUthaimīn