In Harry Potter and the Sorcerer’s Stone (2001), Harry’s scar hurt not because of Snape, but because he was facing the back of Quirrell’s head aka Voldemort.