Hadhrat Abu Hurairah (Radhiyallahu Anhu) narrates that he heard Rasulullah (Sallallahu Alaihi Wa Sallam) say: “Allah Ta’ala will grant His Shade to seven (types) of persons on the day when there will be no shade besides His Shade. (Among the seven) one is a man whose heart is attached to the Masjid.” [Bukhari, Muslim]

Hadhrat Abdullah Ibn Mas’ood (Radhiyallahu Anhu) narrates that Rasulullah (Sallallahu Alaihi Wa Sallam)said: Soon will there be such people who will indulge in (worldly) conversation inside the Masjid. Allah cares not for them.

(Ibn Habbaan)This hadith refers to the prohibition of worldly talk inside the Masjid. It mentions the displeasure of Allah Ta’ala. Such people are deprived of His Mercy and instead invite Allah’s Wrath. Before or after salah one should not simply hang around chitchatting casually about this and that, if we won’t engage in ibaadah or dhikr we should leave the Masjid and save the conversation for another place in order to secure ourselves from displeasing Almighty Allah.

Hadhrat Anas (Radhiyallahu Anhu) narrates that Rasulullah (Sallallahu Alaihi Wa Sallam) said: Refrain from these foul-smelling (vegetables) before coming to our Masaajid. If you wish to eat these, then eliminate the bad odor with fire. (i.e. by means of cooking). (Tibraani)This hadith prohibits the eating of raw garlic, onions, and the like before coming to the Masjid. Other ahadith specifically mention garlic and onions