paradise

Assalam

i heard that it is narrated in Tirmizi Hadith that poor people will enter Paradise 40 years(and in other naration 500 years) ahead of rich people.

i wanted to know if this is a AHadith and is really narrated in Tirmizi…and if anyone know the Hadith number.

Thank you.