ذِكْرُ الْبَيَانِ بِأَنَّ الزَّجْرَ عَنْ إِيطَانِ الْمَرْءِ الْمَكَانَ الْوَاحِدَ فِي الْمَسْجِدِ، إِنَّمَا زُجِرَ عَنْهُ إِذَا فَعَلَ ذَلِكَ لِغَيْرِ الصَّلَاةِ وَذِكْرِ اللَّهِ
The Prophet said: "A muslim does not regularly attend the mosques to perform prayer and remember Allah, but Allah feels happy with him just as the family of one who is absent feels happy when he comes back to them." (Using translation from Ibn Mājah 800)
عَنْ رَسُولِ اللَّهِ ﷺ قَالَ «لَا يُوطِنُ الرَّجُلُ الْمَسْجِدَ لِلصَّلَاةِ أَوْ لِذِكْرِ اللَّهِ إِلَّا تَبَشْبَشَ اللَّهُ بِهِ كَمَا يَتَبَشْبَشُ أَهْلُ الْغَائِبِ إِذَا قَدِمَ عَلَيْهِمْ غَائِبُهُمْ»