Al-Imam Ali (p.b.u.h), said:
Hadith n. 433
433. Amir al-mu’minin, peace be upon him, said: Remember pleasures will pass away while the consequences will stay.
Hadith n. 434
434. Amir al-mu’minin, peace be upon him, said: Try (a man) and you will hate him.
As-Sayyid ar-Razi says: Some people say that this saying is of the Prophet (p.b.u.h.), but what confirms that it is the saying of Amir al-mu’minin (p.b.u.h.) is the statement related by Tha‘lab from Ibn al-Arabi, that (caliph) al-Ma’mun said, “If Ali had not said ‘ukhbur taqlihi’ (try a man and you will hate him),” I would have said: ‘aqlihi takhbur’ (hate a man in order to try him).”
Hadith n. 435
435. Amir al-mu’minin, peace be upon him, said: It is not such that Allah, to Whom belongs Might and Majesty, keeps open the door of gratitude for a person and closes the door of plenty upon him, or that He opens the door of prayer to a person and closes the door of acceptance upon him, or that He opens the door of repentance for a person and closes the door of forgiveness upon him.
Hadith n. 436
436. Amir al-mu’minin, peace be upon him, said: The most appropriate person for an honourable position is he who descends from the people of honour.
Hadith n. 437
437. Amir al-mu’minin, peace be upon him, was asked: Which of the two is better; justice or generosity? Amir al-mu’minin, peace be upon him, replied: Justice puts things in their places while generosity takes them out from their directions; justice is the general caretaker while generosity is a particular benefit. Consequently, justice is superior and more distinguished of the two.
Source: https://www.al-islam.org/nahjul-balagha-part-2-letters-and-sayings