Narrated Thawban: That the Messenger of Allah ﷺ said: "Whoever's soul departs from his body while he is free of three: Kanz (buried treasure), Ghulul, and debt, then he will enter paradise". This is how Sa'eed narrated it: "Kanz" while Abu 'Awanah said in his narration: "Kibr" and he did not mention "from Ma'dan" in it. But the narration of Sa'eed is more correct.
The Prophet Muhammad ﷺ is reminding us here that if we want to gain Allah’s pleasure then we must stay away from these three things and instead focus on doing good deeds such as helping others in need, being generous with our wealth, and being kind to those around us. This hadith serves as a reminder for all Muslims to stay away from any kind of wrongdoing so they can achieve success in this life and the hereafter.