Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi)
حَدَّثَنَا إِبْرَاهِيمُ بْنُ مُوسَى، أَخْبَرَنَا عِيسَى، عَنْ إِسْمَاعِيلَ، عَنْ قَيْسٍ، أَنَّهُ سَمِعَ مِرْدَاسًا الأَسْلَمِيَّ، يَقُولُ ـ وَكَانَ مِنْ أَصْحَابِ الشَّجَرَةِ ـ يُقْبَضُ الصَّالِحُونَ الأَوَّلُ فَالأَوَّلُ، وَتَبْقَى حُفَالَةٌ كَحُفَالَةِ التَّمْرِ وَالشَّعِيرِ، لاَ يَعْبَأُ اللَّهُ بِهِمْ شَيْئًا.Narrated Mirdas Al-Aslami:Who was among those (who had given the Pledge of allegiance) under the Tree: Pious people will die in succession, and there will remain the dregs of society who will be like the useless residues of dates and barley and Allah will pay no attention to them
From Sahih al-Bukhari, whose reports the scholars accept as authentic.