عَنْ مُحَمَّدِ بْنِ أَبِي كَبْشَةَ الْأَنْمَارِيِّ عَنْ أَبِيهِ قَالَ لَمَّا كَانَ فِي غَزْوَةِ تَبُوكَ تَسَارَعَ النَّاسُ إِلَى أَهْلِ الْحِجْرِ يَدْخُلُونَ عَلَيْهِمْ فَبَلَغَ ذَلِكَ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فَنَادَى فِي النَّاسِ الصَّلَاةُ جَامِعَةٌ قَالَ فَأَتَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ وَهُوَ مُمْسِكٌ بَعِيرَهُ وَهُوَ يَقُولُ مَا تَدْخُلُونَ عَلَى قَوْمٍ غَضِبَ اللَّهُ عَلَيْهِمْ فَنَادَاهُ رَجُلٌ مِنْهُمْ نَعْجَبُ مِنْهُمْ يَا رَسُولَ اللَّهِ قَالَ أَفَلَا أُنْذِرُكُمْ بِأَعْجَبَ مِنْ ذَلِكَ رَجُلٌ مِنْ أَنْفُسِكُمْ يُنَبِّئُكُمْ بِمَا كَانَ قَبْلَكُمْ وَمَا كَانَ هُوَ كَائِنٌ بَعْدَكُمْ فَاسْتَقِيمُوا وَسَدِّدُوا فَإِنَّ اللَّهَ عَزَّ وَجَلَّ لَا يَعْبَأُ بِعَذَابِكُمْ شَيْئًا وَسَيَأْتِي قَوْمٌ لَا يَدْفَعُونَ عَنْ أَنْفُسِهِمْ بِشَيْءٍ
It is narrated from Sayyiduna Abu Kabsha Anmari (may Allah be pleased with him) that during the journey of the Battle of Tabuk, people hurried towards the (dwellings of Thamud) Hijr and began to enter them. When the Messenger of Allah (peace and blessings be upon him) came to know of this, he made an announcement among the people: "As-Salatu Jami‘ah (the prayer is congregational)." He says: When I came to the Messenger of Allah (peace and blessings be upon him), while he had stopped his camel and was saying: "Why do you enter upon a people upon whom Allah’s wrath has descended?" A man said: "O Messenger of Allah! We are amazed by them, so we go to them." The Messenger of Allah (peace and blessings be upon him) said: "Shall I not warn you of something more astonishing than this? Among you is a man who informs you of the affairs of those who have passed before you and of those matters which will happen after you. So remain upright and continue upon the right path, for indeed Allah will not care about your punishment, and soon there will come people who will not be able to ward off anything from themselves."