If you see yourself as a hostage in your dream, it indicates that you are in a difficult situation due to some wrongdoing or mistakes in your life. This dream serves as a reminder that you have certain debts or responsibilities that need to be addressed in order to find your freedom. It calls for you to pay attention to certain aspects of your life so that you can liberate yourself.
From Imam Muhammad Ibn Seerin's Dictionary of Dreams According to Islamic Inner Traditions â entry "Hostage" (page 215).
If one sees himself as a hostage in a dream, it means that he has earned himself an accumulation of sins that made him a pawn for repayment of his debts. If one sees himself holding someone as a guarantee for a promise, or keeping him as a pawn until his demands are met in a dream, it means that he is veering toward injustice. A hostage in a dream also represents mistakes, errors, exposing people's private life, divulging people's secrets, slander, or a debt that keeps the person subject to constant harassment. Being a hostage in a dream also means adversities, trials, or falling in love with someone, whereby, one's heart becomes a hostage of his beloved. (Also see Enemy; Enmity)
Note: Islamic dream interpretation depends on the dreamer's circumstances and state. This is a general guide drawn directly from the source book.