It is narrated from Sayyiduna al-Mughirah bin Shu'bah (may Allah be pleased with him) that he ate garlic and prayed with the Prophet (peace and blessings be upon him). When the people had finished the prayer, the smell of garlic was noticed from him, and he (peace and blessings be upon him) asked: "What is this?" He said: "I had a pain in my chest, so I ate it." He (peace and blessings be upon him) did not rebuke him.
No one narrated this hadith from Yunus bin Ubayd (may Allah have mercy on him) except Ubaydullah bin Tammam (may Allah have mercy on him), while Ma'mar bin Sahl (may Allah have mercy on him) is alone in narrating it.
Hadith Referenceالمعجم الأوسط / باب الميم / 7186
Hadith Takhrij«أخرجه ابن خزيمة فى «صحيحه» برقم: 1672، وابن حبان فى «صحيحه» برقم: 2095، وأبو داود فى «سننه» برقم: 3826، والبيهقي فى «السنن الكبرى» برقم: 5141، وأحمد فى «مسنده» برقم: 18463، 18492، وابن أبي شيبة فى «مصنفه» برقم: 8747، 24974، والطحاوي فى «شرح معاني الآثار» برقم: 6615، والطبراني فى «الكبير» برقم: 1003، 1048»