(18) بَاب لَا تَقُومُ السَّاعَةُ حَتَّى يَمُرَّ الرَّجُلُ بِقَبْرِ الرَّجُلِ فَيَتَمَنَّى أَنْ يَكُونَ مَكَانَ الْمَيِّتِ مِنْ الْبَلَاءِ
Abu Huraira reported that Allah's Messenger (ﷺ) said:
Kisra (Khusrau king of Persia) would die and Qaisar (Ceasar King of Rome) would die; there would be no Qaisar after him, but, by the One in Whose Hand is my life, you would spend their treasures in the cause of Allah.
Reference: Sahih Muslim 2918 a
In-book reference: Book 54, Hadith 93
USC-MSA web (English) reference(deprecated numbering scheme): Book 41, Hadith 6973