A hadith like this has been narrated by Abu Huraira that the Messenger of Allah (ﷺ) said:We are the last and would be the first on the Day of Resurrection
Hadith No. 1979
Sahih Muslim