To dream that you have committed a murder suggests that you are involved in a bad situation which will ruin your reputation. You may also have some repressed anger at yourself or at others.
If you dream of witnessing a murder in your dream, it forewarns that someone will do something that upsets or saddens you. Dreaming that you are murdered by someone means you have rivals who are secretly conspiring against you.
Also see “Murderer”, below