know something like the back of one’s hand
Explanation: When you know something like the back of your hand, you know it very well.
How to use it: [someone] knows something like the back of their hand
Example: I know NYC like the back of my hand because I was born and raised here.