Hadithcore
Sahih al-Bukhari, 7036, 7037
sahih

Narrated Abu Huraira:

Allah's Messenger (ﷺ) said, "We (Muslims) are the last (to come) but (will be) the foremost (on the Day of Resurrection)." Allah's Messenger (ﷺ) further said, ''While sleeping, I was given the treasures of the world and two golden bangles were put in my hands, but I felt much annoyed, and those two bangles distressed me very much, but I was inspired that I should blow them off, so I blew them and they flew away. Then I interpreted that those two bangles were the liars between whom I was (i.e., the one of San`a' and the one of Yamama).

حَدَّثَنِي إِسْحَاقُ بْنُ إِبْرَاهِيمَ الْحَنْظَلِيُّ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، قَالَ هَذَا مَا حَدَّثَنَا بِهِ أَبُو هُرَيْرَةَ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ نَحْنُ الآخِرُونَ السَّابِقُونَ ‏"‏‏.‏ وَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ بَيْنَا أَنَا نَائِمٌ إِذْ أُوتِيتُ خَزَائِنَ الأَرْضِ، فَوُضِعَ فِي يَدَىَّ سِوَارَانِ مِنْ ذَهَبٍ، فَكَبُرَا عَلَىَّ وَأَهَمَّانِي، فَأُوحِيَ إِلَىَّ أَنِ انْفُخْهُمَا، فَنَفَخْتُهُمَا فَطَارَا، فَأَوَّلْتُهُمَا الْكَذَّابَيْنِ اللَّذَيْنِ أَنَا بَيْنَهُمَا صَاحِبَ صَنْعَاءَ وَصَاحِبَ الْيَمَامَةِ ‏"‏‏.‏

References2 variants
In-Book Reference
Book 91, Hadith 51
USC-MSA web (English) reference
Vol. 9, Book 87, Hadith 160 (deprecated numbering scheme)