If anyone has been imprisoned without any fault then such a convict should recite Ya Haqqu 160 times in the midst of night, without covering his head. Inshallah, he will be released. Remember that Allah’s (swt) help is the greatest of all. If Allah wishes only then will a person receive help. This amal should be done with the conviction that Allah (swt) will help in the release from prison.
Keep Me In Your Prayers