Harry Potter's name wasn't taken from a specific book. J.K. Rowling came up with the name herself!
She has said in interviews that she liked the name "Harry" because it was "quite ordinary" and that "Potter" just "sounded funny." She also wanted a name that was easy for children to say and remember.