[Machine] About the naming of the witnesses of the Battle of Badr from the Ansar and then from the Banu Khazraj, it is Abu Al-Yasar Ka'ab ibn Amr ibn Abbad ibn Amr ibn Ghanm ibn Sawwad ibn Ghanm ibn Ka'ab ibn Salamah ibn Ali.
عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ «فِي تَسْمِيَةِ مَنْ شَهِدَ بَدْرًا مِنَ الْأَنْصَارِ ثُمَّ مِنْ بَنِي الْخَزْرَجِ أَبُو الْيَسَرِ كَعْبُ بْنُ عَمْرِو بْنِ عَبَّادِ بْنِ عَمْرِو بْنِ غَنْمِ بْنِ سَوَّادِ بْنِ غَنْمِ بْنِ كَعْبِ بْنِ سَلَمَةَ بْنِ عَلِيٍّ»