What is the ruling on eating garlic or onions before Maghrib or 'Isha prayers, knowing that this will prevent one from praying in the mosque? And what is the ruling on one who eats onions before the Friday prayer to prevent himself from attending it? And what is the difference between the two cases?
Eating garlic, onions, and other malodorous foods is permissible, but it is disliked for anyone who intends to enter the mosque or has a prayer [to attend]. If one eats them, they should not approach the mosque. Scholars have differed regarding the ruling on eating them for someone who intends to miss congregational prayer. Some hold that eating them is permissible, even if it results in missing the congregation, because attending congregational prayer is not obligatory. Others hold that one incurs sin, because the prohibition from approaching mosques indicates حرمة (prohibition), and because it causes annoyance to those praying. However, eating them on Friday with the intention of missing the Friday prayer is prohibited.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/88300