Jami` at-Tirmidhi, Book 21, Hadith 13 (In-Book)

Narrated 'Aishah: That the Messenger of Allah advanced towards Badr till he reached Harrah Al-Wabr where he was met by a man from the idolaters, about whom it was said he was brave and courageous. The Prophet said to him: "Do you believe in Allah and his Messenger?" He said: "No." He said: "Then return, because we do not seek aid from an idolater." The Hadith has more dialogue than this. And this is a Hasan Gharib Hadith. This is acted upon according to some of the people of knowledge. They say that the people of Adh-Dhimmah do not recieve a share, even it they were to fight along with the Muslims against the enemy. Some of the people of knowledge said that they are given a share when they attend the battle with the Muslims.

حَدَّثَنَا الأَنْصَارِيُّ، حَدَّثَنَا مَعْنٌ، حَدَّثَنَا مَالِكُ بْنُ أَنَسٍ، عَنِ الْفُضَيْلِ بْنِ أَبِي عَبْدِ اللَّهِ، عَنْ عَبْدِ اللَّهِ بْنِ نِيَارٍ الأَسْلَمِيِّ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم خَرَجَ إِلَى بَدْرٍ حَتَّى إِذَا كَانَ بِحَرَّةِ الْوَبَرِ لَحِقَهُ رَجُلٌ مِنَ الْمُشْرِكِينَ يَذْكُرُ مِنْهُ جُرْأَةً وَنَجْدَةً فَقَالَ لَهُ النَّبِيُّ صلى الله عليه وسلم ‏"‏ أَلَسْتَ تُؤْمِنُ بِاللَّهِ وَرَسُولِهِ ‏"‏ ‏.‏ قَالَ لاَ ‏.‏ قَالَ ‏"‏ ارْجِعْ فَلَنْ أَسْتَعِينَ بِمُشْرِكٍ ‏"‏ ‏.‏ وَفِي الْحَدِيثِ كَلاَمٌ أَكْثَرُ مِنْ هَذَا ‏.‏ هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ ‏.‏ وَالْعَمَلُ عَلَى هَذَا عِنْدَ بَعْضِ أَهْلِ الْعِلْمِ قَالُوا لاَ يُسْهَمُ لأَهْلِ الذِّمَّةِ وَإِنْ قَاتَلُوا مَعَ الْمُسْلِمِينَ الْعَدُوَّ ‏.‏ وَرَأَى بَعْضُ أَهْلِ الْعِلْمِ أَنْ يُسْهَمَ لَهُمْ إِذَا شَهِدُوا الْقِتَالَ مَعَ الْمُسْلِمِينَ ‏.‏

sunnah.com