Al-Zuhri (may Allah have mercy on him) says that the Messenger of Allah (peace and blessings be upon him) fought together with some Jewish people and also allotted them a share.
Imam al-Shafi'i (may Allah have mercy on him) says that this hadith is munqati' (broken), so it is not a proof.
The Shaykh (may Allah have mercy on him) says: Futayr al-Harithi says that the Messenger of Allah (peace and blessings be upon him) took ten Jews of Madinah with him to Khaybar and allotted them a share like the Muslims. This too is munqati', and its chain is weak.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17971