Harry Potter and the Sorcerer's Stone
by J.K. Rowling
Friendship Quotes in Harry Potter and the Sorcerer's Stone
How we cite our quotes: (chapter.paragraph)
"That Quidditch cup'll have our name on it this year," said Wood happily as they trudged back up to the castle. "I wouldn't be surprised if you turn out better than Charlie Weasley, and he could have played for England if he hadn't gone off chasing dragons." (10.65)
For Harry, the exciting thing about Hogwarts isn't just getting to be friends with other open-minded first years – it's the chance to be part of and embraced by a whole community. Here's this older, well-regarded student encouraging and praising Harry, and taking time to welcome him to the team. It's a far cry from the Dursleys' household.
Someone knocked into Harry as they hurried past him. It was Hermione. Harry caught a glimpse of her face – and was startled to see that she was in tears.
"I think she heard you."
"So?" said Ron, but he looked a bit uncomfortable. "She must've noticed she's got no friends." (10.78-80)
Poor Hermione. Ron should "look[s] a bit uncomfortable" here, as he's totally gone too far in insulting her, but then he makes matters worse by accusing her of having "no friends." Hermione's "tears" show how much having friends matters at Hogwarts and how deeply Ron has hurt her feelings. For once, Harry's not the one worst off in the room; having no friends at Hogwarts is almost as bad as not having any in Little Whinging.
But from that moment on, Hermione Granger became their friend. There are some things you can't share without ending up liking each other, and knocking out a twelve-foot mountain troll is one of them. (10.160)
We might say, finally – this took them long enough. If you've read the rest of the books, you know that the friendship between Harry, Ron, and Hermione is one of the series' defining characteristics. The three really depend on each other to succeed.