The only people to frequent God’s masjids are those who believe in God and the Last Day, and observe the Contact Prayers (Salat), and give the obligatory charity (Zakat), and do not fear except God. These will surely be among the guided ones.
إِنَّما يَعمُرُ مَسٰجِدَ اللَّهِ مَن ءامَنَ بِاللَّهِ وَاليَومِ الـٔاخِرِ وَأَقامَ الصَّلوٰةَ وَءاتَى الزَّكوٰةَ وَلَم يَخشَ إِلَّا اللَّهَ فَعَسىٰ أُولٰئِكَ أَن يَكونوا مِنَ المُهتَدينَ
innamaa ya’muru masaa jidal laahi man aamana billaahi wal Yawmil Aakhiri wa aqaamas Salaata wa aataz Zakaata wa lam yakhshaa illal laaha fa’asaaa ulaaa’ika ai yakoonoo minal muhtadeen