Jabir reported God’s Messenger as saying, “If anyone eats of this offensive tree* he must not approach our mosque, for the angels are harmed by the same things as men.”
* Bukhari At’ima, 49, shows the Prophet’s objection to onions and garlic. One of these may be meant here.
Abu Dharr reported God’s Messenger as saying, “The deeds of my people, good and bad, were presented before me, and I found the removal of something objectionable from the road among their good deeds, and mucus left unburied in the mosque among their evil deeds.”
Abu Huraira reported God's Messenger as saying, “If anyone hears a man crying out in the mosque about something he has lost, he should say, ‘May God not restore it to you,’ for the mosques were not built for this.”