Abu Musa reported the Prophet as saying, “The greatest sin in God's sight, after the serious sins which God has prohibited, which a man can bring into His presence is that he should die in debt without leaving enough to discharge it.”
Ahmad and Abu Dawud transmitted it.