Continue to remember those in prison as if you were together with them in prison, and those who are mistreated as if you yourselves were suffering. (NIV)
Remember those who are in prison as if you were their fellow prisoner, and those who are ill-treated, since you also are liable to bodily sufferings. (AMP)
Remember them that are in bonds, as bound with them; and them which suffer adversity, as being yourselves also in the body. (KJV)