A wise man first thinks and then speaks and a fool speaks first and then thinks.
"'Nahj al-Balagha' ('The Peak of Eloquence')". Book by Ali, translated by Askari Jafri,

A wise man first thinks and then speaks and a fool speaks first and then thinks.