Erecting or building a masjid is an indication that the person will join a group of people in an effort to accomplish some noble task or to enable someone to get married