[Machine] When the messenger of Allah ﷺ arrived in Medina, the Ansar held a consultation to decide who among them would host the messenger of Allah ﷺ . Abu Ayyub al-Ansari won the selection and hosted the messenger of Allah ﷺ . Whenever the messenger of Allah ﷺ received food as a gift, he would give it to Abu Ayyub (may Allah be pleased with him). One day, Abu Ayyub entered his house and found a dish containing onions. He asked, "What is this?" They told him that it was sent by the messenger of Allah ﷺ . Abu Ayyub went to see the prophet ﷺ and asked, "O messenger of Allah, what prevents you from eating onions?" The prophet ﷺ replied, "I saw onions in it." Abu Ayyub said, "Is it not permissible for us to eat onions?" The prophet ﷺ said, "Yes, you may eat it, but it affects me in a way that it does not affect you." Abu Ayyub then said, "May my life be sacrificed for you, what affects you does not affect us."
لَمَّا قَدِمَ رَسُولُ اللهِ ﷺ الْمَدِينَةَ اقْتَرَعَتْ الْأَنْصَارُ أَيُّهُمْ يُؤْوِي رَسُولَ اللهِ ﷺ فَقَرَعَهُمْ أَبُو أَيُّوبَ فَآوَى رَسُولَ اللهِ ﷺ فَكَانَ إِذَا أُهْدِيَ لِرَسُولِ اللهِ ﷺ طَعَامٌ أُهْدِيَ لِأَبِي أَيُّوبَ قَالَ فَدَخَلَ أَبُو أَيُّوبَ يَوْمًا فَإِذَا قَصْعَةٌ فِيهَا بَصَلٌ فَقَالَ مَا هَذَا؟ فَقَالُوا أَرْسَلَ بِهِ رَسُولُ اللهِ قَالَ فَاطَّلَعَ أَبُو أَيُّوبَ إِلَى النَّبِيِّ ﷺ فَقَالَ يَا رَسُولَ اللهِ مَا مَنَعَكَ مِنْ هَذِهِ الْقَصْعَةِ؟ قَالَ رَأَيْتُ فِيهَا بَصَلًا قَالَ وَلَا يَحِلُّ لَنَا الْبَصَلُ؟ قَالَ بَلَى فَكُلُوهُ وَلَكِنْ يَغْشَانِي مَا لَا يَغْشَاكُمْ وَقَالَ حَيْوَةُ إِنَّهُ يَغْشَانِي مَا لَا يَغْشَاكُمْ