Nahj al-Balāgha

Hadith 1670
governance
٤١. وقد روي عنه (عليه ‏السلام) هذا المعنى بلفظ آخر، وهو قوله: قَلبُ الْأَحْمَقِ فِي فِيهِ، وَلِسَانُ الْعَاقِلِ فِي قَلْبِهِ.
41. This very sense has been related from Amīr al-mu’minīn, peace be upon him, in a different version as follows: The heart of a fool is in his mouth while the tongue of the wise man is in his heart.
Source: al-Sharīf al-Raḍī