Is it haram to talk bad about someone in your head?
Imam al-Ghazaali (may Allah's mercy be upon him) stated
, in his discussion regarding the prohibition of backbiting, that it is important to be mindful of how one may speak about others, even internally.