If anyone gets possession of a relative who is within the prohibited degrees, that person becomes free.

Sunan Abi Dawud Book 31, Hadith 26