score:1
Bhikshus, no other single thing do I see, on account of which unarisen ill will does not arise, and arisen ill will is abandoned, as on account of this, bhikshus, namely, the liberation of mind through lovingkindness.
(2) And what, bhikshus, is food for the arising of unarisen ill will (vyapada) and for the growth and abundance of arisen ill will? There is, bhikshus, the sign of the repulsive (paigha,nimitta). Frequently giving unwise attention to it is food for the arising of unarisen ill will and for the growth and abundance of arisen ill will.
Furthermore, brahmin, when one dwells with a mind seized by ill will (vyapada), overcome by ill will, then one understands not, as it really is, the escape (from it), one neither understands nor sees, as it really is, , one’s own benefit, …nor others’ benefit,…nor the benefit of both—so, too, the mantras that have been recited over a long time do not come to mind, let alone those that have not been recited.
Brahmin, just as when a person with good sight, looking for the reflection of his own face in a bowl of water, heated up by a fire, keeps boiling over with hot water, would neither know nor see it, as it really is—even so, brahmin, when one dwells with a mind seized by ill will, overcome by ill will, then one understands not, as it really is, , the escape (from it), one neither understands nor sees, as it really is, one’s own benefit,…nor others’ benefit,…nor the benefit of both—so, too, the mantras that have been recited over a long time do not come to mind, let alone those that have not been recited.
Bhikshus, the four focusses of mindfulness are to be cultivated for the abandoning of these five mental hindrances.
Also see: The Five Mental Hindrances and Their Conquest: Selected Texts from the Pali Canon and the Commentaries compiled and translated by Nyanaponika Thera
In relation to general thoughts linked in thinking and pondering on unwholesome thoughts Vitakka Saṇṭhāna Sutta mentions the following:
In addition, Vyāpāda an essay by Piya Tan might be also of interest.