Al-Kāfi - Volume 6 > The Broad Beans and the Kidney Beans
Hadith #4

عَلِيُّ بْنُ مُحَمَّدٍ عَنْ سَهْلِ بْنِ زِيَادٍ عَنِ ابْنِ أَبِي نَجْرَانَ عَمَّنْ ذَكَرَهُ عَنْ أَبِي عَبْدِ اللَّهِ ( عليه السلام ) قَالَ اللُّوبِيَاءِ يَطْرُدُ الرِّيَاحَ الْمُسْتَبْطِنَةَ .

4. Ali ibn Muhammad from Sahl ibn Ziyad from ibn abu Najran from those whom he has mentioned who has said the following: “Abu ‘Abd Allah, ‘Alayhi al-Salam, has said, ‘Kidney beans dispel gases from the belly.’”