What happens when you sell a iphone that was stolen 3 years ago?

I recently sold an iphone and the lady was writing down my imformation on my id and she finger printed my prints can i get into trouble if i didn't know it was stolen

If she tells the police they will end up questioning you.

Also, why would you let a stranger take your fingerprints?

You get into a lot of trouble.

It has been out of date and no one will but it!