Being hanged in a dream is interpreted in several ways.
Imam al-Nabulsi said that if someone fit to be a governor sees themselves hanged, it signifies becoming a governor. Being hanged signifies elevation and blessings one will attain.
Seeing oneself executed in a city signifies leadership according to the honor of that city. For the poor, being hanged signifies good and the disclosure of hidden matters; for the rich, it signifies evil and deterioration of affairs.
Seeing oneself already dead and then executed signifies corruption in religion but worldly honor and high rank. For an unmarried man, being executed signifies marriage. For someone traveling by ship over the sea, seeing oneself hanged signifies good.
Eating the flesh of a person who has been executed signifies obtaining benefit from prominent people.