And [He revealed] that the Masjids are for Allah, so do not invoke with Allah anyone. (72:18)
It is unlawful for one to attribute a Masjid to a human in a manner that one may perceive that it belongs to him; but there is no problem if one associates a Masjid with a certain name, so that it can be recognized and known by people. The Prophet () attributed his Masjid to himself. He () said:
'…this Masjid of mine...'(Abu Dawood) The Prophet () also attributed Masjid Qo'baa to himself as well. We should realize that attributions of names to the Masaajid are so that people will know them; thus, this is not included in the prohibition.14 *It is not appropriate for him who eats onion or garlic to go to the Masjid. Jabir () said that the Prophet () said: