It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Beware of eating these two foul-smelling vegetables and then entering our mosques; if you must eat them, then kill them thoroughly with fire (i.e. cook them so that their smell goes away)."
Imam al-Tabarani (may Allah have mercy on him) said: "No one narrated it from Sallam bin Miskin (may Allah have mercy on him) except Shayban (may Allah have mercy on him)."