Mosque as a religious building for community development