Sayyiduna Abu Qatadah (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Give the mosques their due right." It was asked to him, "What is their right?" He (peace and blessings be upon him) said: "When you sit (in the mosque), perform two rak‘ahs before sitting (this is their right)."