Here's the issue that I see:
She doesn't belong to you. What I would do would be to knock on the neighbor's door, inform him that the hen is hanging out at your place and offer to give him $2 for her. If he agrees, as soon as you agree on a price, be sure to get a receipt.
If he doesn't...