a small building which people go to to pray