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.
ahmad:25158ʿAbd al-Raḥman > Mālik > Fuḍayl b. Abū ʿAbdullāh > ʿAbdullāh b. Nīār > ʿUrwah > ʿĀʾishah

[Machine] The Messenger of Allah, ﷺ , went out to Badr and was followed by a man from the polytheists. The man caught up with him by the embers and said, "I wanted to follow you and be with you." The Prophet asked him, "Do you believe in Allah and His Messenger?" The man replied, "No." The Prophet said, "Then go back, for we do not seek the help of a polytheist." The man followed him again, this time to a tree, and the companions of the Messenger of Allah were delighted. The man said, "I came to follow you and be with you." The Prophet asked him, "Do you believe in Allah and His Messenger?" The man replied, "No." The Prophet said, "Then go back, for we do not seek the help of a polytheist." The man followed him again when he appeared in the open terrain, and he said the same thing to him. The man responded, "Yes." So the Prophet took him along.  

أحمد:٢٥١٥٨حَدَّثَنَا عَبْدُ الرَّحْمَنِ حَدَّثَنَا مَالِكٌ عَنْ فُضَيْلِ بْنِ أَبِي عَبْدِ اللهِ عَنْ عَبْدِ اللهِ بْنِ نِيارٍ عَنْ عُرْوَةَ عَنْ عَائِشَةَ

أَنَّ رَسُولَ اللهِ ﷺ خَرَجَ إِلَى بَدْرٍ فَتَبِعَهُ رَجُلٌ مِنَ الْمُشْرِكِينَ فَلَحِقَهُ عِنْدَ الْجَمْرَةِ فَقَالَ إِنِّي أَرَدْتُ أَنْ أَتْبَعَكَ وَأُصِيبَ مَعَكَ قَالَ تُؤْمِنُ بِاللهِ ﷻ وَرَسُولِهِ؟ قَالَلَا قَالَ ارْجِعْ فَلَنْ نَسْتَعِينَ بِمُشْرِكٍ قَالَ ثُمَّ لَحِقَهُ عِنْدَ الشَّجَرَةِ فَفَرِحَ بِذَاكَ أَصْحَابُ رَسُولِ اللهِ ﷺ وَكَانَ لَهُ قُوَّةٌ وَجَلَدٌ فَقَالَ جِئْتُ لِأَتْبَعَكَ وَأُصِيبَ مَعَكَ قَالَ تُؤْمِنُ بِاللهِ وَرَسُولِهِ؟ قَالَ لَا قَالَ ارْجِعْ فَلَنْ أَسْتَعِينَ بِمُشْرِكٍ قَالَ ثُمَّ لَحِقَهُ حِينَ ظَهَرَ عَلَى الْبَيْدَاءِ فَقَالَ لَهُ مِثْلَ ذَلِكَ قَالَ تُؤْمِنُ بِاللهِ وَرَسُولِهِ؟ قَالَ نَعَمْ قَالَ فَخَرَجَ بِهِ