[Machine] The messenger of Allah ﷺ said about the Battle of Khaybar, "Whoever eats from this tree, let him not approach our mosques." This is the wording of the hadith from Muhammad ibn Bashshar and Ibn al-Muthanna. In the hadith of Ahmad, it is stated, "Let him not come near the mosques." There is no mention of the Battle of Khaybar in this hadith, and it is the wording of Musaddad. He added, "meaning garlic," and said, "So let him not come to our mosque."
أَنَّ رَسُولَ اللهِ ﷺ قَالَ فِي غَزْوَةِ خَيْبَرَ مَنْ أَكَلَ مِنْ هَذِهِ الشَّجَرَةِ فَلَا يَأْتِيَنَّ الْمَسَاجِدَ هَذَا لَفْظُ حَدِيثِ مُحَمَّدِ بْنِ بَشَّارٍ وَابْنِ الْمُثَنَّى وَفِي حَدِيثِ أَحْمَدَ فَلَا يَقْرَبَنَّ الْمَسَاجِدَ وَلَيْسَ فِيهِ فِي غَزْوَةِ خَيْبَرَ وَهُوَ فِي حَدِيثِ مُسَدَّدٍ وَزَادَ يَعْنِي الثُّومَ وَقَالَ فَلَا يَأْتِ مَسْجِدَنَا