Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:3829[Chain 1] Ibrāhīm b. Mūsá [Chain 2] Ḥaywah b. Shurayḥ > Baqiyyah > Baḥīr > Khālid > Abū Ziyād Khiyār b. Salamah

Khalid said: AbuZiyad Khiyar ibn Salamah asked Aisha about onions. She replied: The last food which the Messenger of Allah ﷺ ate was some which contained onions.  

أبو داود:٣٨٢٩حَدَّثَنَا إِبْرَاهِيمُ بْنُ مُوسَى أَخْبَرَنَا ح وَحَدَّثَنَا حَيْوَةُ بْنُ شُرَيْحٍ حَدَّثَنَا بَقِيَّةُ عَنْ بَحِيرٍ عَنْ خَالِدٍ عَنْ أَبِي زِيَادٍ خِيَارِ بْنِ سَلَمَةَ أَنَّهُ سَأَلَ عَائِشَةَ عَنِ الْبَصَلِ فَقَالَتْ

إِنَّ آخِرَ طَعَامٍ أَكَلَهُ رَسُولُ اللَّهِ ﷺ طَعَامٌ فِيهِ بَصَلٌ  


See similar narrations below:

Collected by Aḥmad, Nasāʾī's Kubrá
ahmad:24585Ḥaywah b. Shurayḥ > Baqiyyah > Baḥīr b. Saʿd > Khālid b. Maʿdān > Abū Ziyād Khiyār b. Salamah

Khalid said: AbuZiyad Khiyar ibn Salamah asked Aisha about onions. She replied: The last food which the Messenger of Allah ﷺ ate was some which contained onions. (Using translation from Abū Dāʾūd 3829)  

أحمد:٢٤٥٨٥حَدَّثَنَا حَيْوَةُ بْنُ شُرَيْحٍ قَالَ حَدَّثَنَا بَقِيَّةُ قَالَ حَدَّثَنِي بَحِيرُ بْنُ سَعْدٍ عَنْ خَالِدِ بْنِ مَعْدَانَ عَنْ أَبِي زِيَادٍ خِيَارِ بْنِ سَلَمَةَ أَنَّهُ سَأَلَ عَائِشَةَ عَنِ الْبَصَلِ فَقَالَتْ

إِنَّ آخِرَ طَعَامٍ أَكَلَهُ رَسُولُ اللهِ ﷺ طَعَامٌ فِيهِ بَصَلٌ  

nasai-kubra:6646ʿAmr b. ʿUthmān > Baqiyyah > Baḥīr > Khālid > Abū Ziyād Khiyār b. Salamah

Khalid said: AbuZiyad Khiyar ibn Salamah asked Aisha about onions. She replied: The last food which the Messenger of Allah ﷺ ate was some which contained onions. (Using translation from Abū Dāʾūd 3829)  

الكبرى للنسائي:٦٦٤٦أَخْبَرَنِي عَمْرُو بْنُ عُثْمَانَ قَالَ حَدَّثَنَا بَقِيَّةُ عَنْ بَحِيرٍ عَنْ خَالِدٍ عَنْ أَبِي زِيَادٍ خِيَارِ بْنِ سَلَمَةَ أَنَّهُ سَأَلَ عَائِشَةَ عَنِ الْبَصَلِ فَقَالَتْ

«إِنَّ آخِرَ طَعَامٍ أَكَلَهُ رَسُولُ اللهِ ﷺ طَعَامٌ فِيهِ بَصَلٌ»