When Madam Pomfrey came out again, ready to tell them off for the amount of guests that were there, Hermione took her leave. Ron was Harry’s best friend and Fred, George and Ginny were his family. Hermione, while a friend, had the least right to be there.