Shurayh bin Haarith had been holding an important post during the previous regimes. Imam Ali (a) had also appointed him as a Qadhi (Chief Judge) of Kufa. It was brought to the notice of Imam Ali (a) that he had purchased a house for himself in the city (rather a costly and expensive house, perhaps more expensive and luxurious than his status demanded and that too rather at a cheaper price).
Imam Ali (a) called him and asked of him: "I am given to understand that you have purchased this house for eighty dinars and a sales deed has also been completed regularizing it with signatures of witnesses".
Shurayh replied, "O Amir al-Mu'minin this is a fact". Hearing this Imam Ali (a) felt annoyed and said to him: "Shurayh be warned that a thing (death) will come to you; it will not take any notice of this sales deed nor will it accept the testimony of the witnesses but it will take you out of this house alone and unattended and will drag you to your grave.
And before such a thing happens, you must think well over the fact whether you have purchased this house with the money which does not belong to you but to somebody else and whether the purchase price was acquired with foul means or it was an ill-gotten wealth, which met its cost, if it was so, then remember that you will part (through death) with this house and in the bargain you will lose your place in Paradise.
If you had come to me prior to this transaction I would have drafted such a sales deed for you that you would not have cared to purchase this property even for a dirham. You know what the transfer deed would have been like, it would have been phrased in the following words:
It is related that Shurayh ibn al-Harith (al-Kindi) who was Amir al-mu'minin's Qadi (judge) at Kufah during his tenure purchased a house for eighty Dinars. When it became known to Amir al-mu'minin he sent for him and said to him: I have come to know that you have purchased a house for eighty Dinars, and that you have written a document for it and put witnessing on it. Shurayh, replied: Yes, Amir al-mu'minin, it is so. Amir al-mu'minin cast an angry look at him and said to him:
O Shurayh, beware, shortly one body (the angel of death) will come to you who will not look at the document, nor question you about your evidence but take you out of it far away and deposit you in your grave quite alone. Look! O Shurayh, if you have purchased this, house from money other than yours or paid the price from unlawful source, you have incurred loss of this world as well as of the next. If you had come to me at the time of purchase I would have written for you a document on this paper and then you would not have liked to purchase the house even for one Dirham, not to speak of more. That document is this:-
This is about a purchase made by a humble slave (of Allah) from another slave ready to depart (for the next world). He has purchased a house out of houses of deceit in the area of mortals and the place of those liable to perish. This house has four boundaries as follows: The first boundary is contiguous to sources of calamities; the second boundary adjoins the sources of distress; the third boundary adjoins devastating desire; and the fourth boundary adjoins deceitful Satan and towards this opens the door of this house.
This house has been purchased by one who has been waylaid by desires from one who is being driven by death at the price of leaving the honour of contentment and entering into the humility of want and submissiveness. If the purchaser encounters some (evil) consequences of this transaction then it is for him who dismantles the bodies of monarchs, snatches the lives of despots, destroys the domain of Pharaoh like Kisras, 1 Caesars,2 Tubba`s 3 and Himyars 4 and all those who amass wealth upon wealth and go on increasing it, build high houses and decorate them and collect treasures and preserve them, as they claimed according to their own thinking, for children to take them to the place of accounting and judgement and the position of reward and punishment. When the verdict will be passed those who stood on falsehood would then be the losers. (Qur'an, 40: 78)
This document is witnessed by intelligence when it is free from the shackles of desires and safe from the attachments to this world.