Question marked as
Best reply
The person who’s appleID need to release it or. You cant use it
What to do before you sell or give away your iPhone, iPad, or iPod touch - Apple Support