In the name of Allah, Most Gracious, Most Merciful.
Sufyan ath-Thawrî on his deathbed recommended this advice to Ali b. al-Hasan as-Sullamî:
Always be sincere, do not commit lies, treachery, ostentation and pride; they are flaws that remove any benefits gained from the practice of doing good deeds. In religion, only take counsel from the man who faithfully observes his own religion and for a companion the one who turns you away from the earthly vanities. The idea of death always in mind, implore Allah’s forgiveness often; and throughout your life think of your salvation. Give pious advice to those who seek it. Do not abuse the trust placed in you by a believer, because, therefore, it is Allah Himself and His Prophet that you will betray. Flee arguments and disputes. Avoid what may give rise to doubt and hold on tight to the unbreakable certainties; at stake is your own salvation. Order good and forbid evil, you will then be loved by Allah. Place yourself in good standing with your conscience; the Lord will take care of establishing your reputation in the eyes of others. Accept apologies when they are given to you and do not hold grudges with your brothers in Islam. Renew relations with anyone that has cut relations with you; by forgiving their offenses you will raise yourself to the level of the companions of the Prophets. Put your trust in Allah in every circumstance, in public and in private. Fear Allah like the mortal that you are, to be resurrected and herded in front of the Almighty. Remember the alternative that awaits you: either the sublime Garden or the blazing Fire.