[Machine] I heard the Messenger of Allah, peace be upon him, saying, "Indeed, one of the prophets from the prophets fought against the people of a city until when he was about to conquer it, he feared that the sun would set. So he said to the sun, 'O sun, you are commanded and I am commanded with my sanctity upon you, do not set for a moment from the day.' Allah imprisoned it until he conquered the city. And whenever they obtained spoils, they would bring them close to the sacrificial offering. Then the fire would come and consume it. But when they placed the sacrificial offering, the fire did not come to consume it. So they said, 'O Prophet of Allah, why is our sacrificial offering not accepted?' He said, 'You have among you a thief.' They said, 'How can we know who has the thief?' He said, 'They are twelve tribes, let the head of each tribe come and give me his pledge.' So the head of each tribe pledged allegiance to him, and the Prophet's hand stuck to the hand of a man from among them. He said, 'You have the thief.' The man said, 'How can I know which tribe he is from?' He said, 'You should summon your tribe and have them pledge allegiance to you one by one.' So he did, and his hand stuck to the hand of the man holding the spoils. Then the fire came and consumed him.' Ka'ab said, 'Allah and His Messenger have spoken the truth.' He intends in the Book of Allah, meaning the Torah. Then he said, 'O Abu Hurairah, who do you think was the prophet?' He said, 'No.' He said, 'It was Joshua bin Noon.' He said, 'Which city was it?' He said, 'It was the city of Jericho.'"
سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ إِنَّ نَبِيًّا مِنَ الْأَنْبِيَاءِ قَاتَلَ أَهْلَ مَدِينَةٍ حَتَّى إِذَا كَادَ أَنْ يَفْتَتِحَهَا خَشِيَ أَنْ تَغْرُبَ الشَّمْسُ فَقَالَ لَهَا أَيَّتُهَا الشَّمْسُ إِنَّكِ مَأْمُورَةٌ وَأَنَا مَأْمُورٌ بِحُرْمَتِي عَلَيْكِ إِلَّا رَكَدْتِ سَاعَةً مِنَ النَّهَارِ قَالَ فَحَبَسَهَا اللَّهُ حَتَّى افْتَتَحَهَا وَكَانُوا إِذَا أَصَابُوا الْغَنَائِمَ قَرَّبُوهَا فِي الْقُرْبَانِ فَجَاءَتِ النَّارُ فَأَكَلَتْهَا فَلَمَّا أَصَابُوا وَضَعُوا الْقُرْبَانَ فَلَمْ تَجِئِ النَّارُ تَأْكُلْهُ فَقَالُوا يَا نَبِيَّ اللَّهِ مَا لَنَا لَا يُقْبَلُ قُرْبَانُنَا؟ قَالَ فِيكُمْ غُلُولٌ قَالُوا وَكَيْفَ لَنَا أَنْ نَعْلَمَ مَنْ عِنْدَهُ الْغُلُولُ؟ قَالَ وَهُمُ اثْنَا عَشَرَ سِبْطًا قَالَ يُبَايِعُنِي رَأْسُ كُلِّ سِبْطٍ مِنْكُمْ فَبَايَعَهُ رَأْسُ كُلِّ سِبْطٍ قَالَ فَلَزِقَتْ كَفُّ النَّبِيِّ بِكَفِّ رَجُلٍ مِنْهُمْ فَقَالَ لَهُ عِنْدَكَ الْغُلُولُ فَقَالَ كَيْفَ لِي أَنْ أَعْلَمَ عِنْدَ أَيِّ سِبْطٍ هُوَ؟ قَالَ تَدْعُو سِبْطَكَ فَتُبَايِعْهُمْ رَجُلًا رَجُلًا قَالَ فَفَعَلَ فَلَزِقَتْ كَفُّهُ بِكَفِّ رَجُلِ الْغَنَائِمِ فَجَاءَتِ النَّارُ فَأَكَلَتْهُ فَقَالَ كَعْبٌ صَدَقَ اللَّهُ وَرَسُولُهُ هَكَذَا وَاللَّهِ فِي كِتَابِ اللَّهِ يَعْنِي فِي التَّوْرَاةِ ثُمَّ قَالَ يَا أَبَا هُرَيْرَةَ أَحَدَّثَكُمُ النَّبِيُّ ﷺ أَيُّ نَبِيٍّ كَانَ؟ قَالَ لَا قَالَ كَعْبٌ هُوَ يُوشَعُ بْنُ نُونٍ قَالَ فَحَدَّثَكُمْ أَيُّ قَرْيَةٍ هِيَ؟ قَالَ لَا قَالَ هِيَ مَدِينَةُ أَرِيحَا