The only people to attend Allah’s places of worship are those who believe in Allah and the Last Day, and pray regularly, and practice regular charity, and fear none but Allah. These are most likely to be guided.