Narrated Thawban:
That the Messenger of Allah (ﷺ) said: Whoever dies and he is free of three: Kibr (Pride), Ghulul, and debt, he will enter paradise.
There are narrations on this topic from Abu Hurairah and Zaid bin Khalid Al-Juhni
Footnote: Ghulul refers to goods stolen from the spoils of war, or concealed, before it is divided among the soldiers