Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.

Praying Tahiyyat al-Masjid gives the due right owed to the masjid

suyuti:3512aAbū Qatādah

Give the masajid their due, ˹offer˺ two rakahs before you sit down.  

Ibn Abū Shaybah's Muṣannaf; Abū al-Shaykh's al-Thawāb from Abū Qatādah
السيوطي:٣٥١٢aعن أبي قتادة

"أعْطُوا المساجدَ حقها، ركعتان قبل أَن تجلِسُوا".  

[ش] ابن أبى شيبة وأبو الشيخ في الثواب، عن أبي قتادة

See similar narrations below:

Collected by Suyūṭī