Hadith 1824

نا عَبْدُ اللَّهِ بْنُ سَعِيدٍ الأَشَجُّ ، نا أَبُو خَالِدٍ , قَالَ ابْنُ إِسْحَاقَ : أُخْبِرْنَا عَنْ أَبِي بَكْرِ بْنُ عَمْرِو بْنِ حَزْمٍ ، عَنْ عَمْرِو بْنِ سُلَيْمٍ ، عَنْ أَبِي قَتَادَةَ ، قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " أَعْطُوا الْمَسَاجِدَ حَقَّهَا " , قِيلَ : وَمَا حَقُّهَا ؟ قَالَ : " رَكْعَتَيْنِ قَبْلَ أَنْ تَجْلِسَ "
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)."
Hadith Reference صحيح ابن خزيمه / 1824
Hadith Takhrij اسناده ضعيف