Once the Holy Prophet attended the funeral of a dead Muslim. Before leading the funeral prayer, the Holy Prophet inquired whether the dead man had to clear any debt. He was informed that the dead man had to pay the debt of a dinar. The Holy Prophet said that before he could lead the funeral prayer some one should undertake the responsibility of clearing the debt of the dead Muslim. It was Ali who stepped forward to undertake the responsibility for clearing the debt.