Hebrews 13:3

Remember those who are prisoners, just as if you were imprisoned with them, and those who endure hardships, just as if you were in their place

Other versions

King James Version

Remember them that are in bonds, as bound with them; and them which suffer adversity, as being yourselves also in the body.

English Standard Version

Remember those who are in prison, as though in prison with them, and those who are mistreated, since you also are in the body.

New International Version

Remember those in prison as if you were their fellow prisoners, and those who are mistreated as if you yourselves were suffering.