Harry was speeding toward the ground when the crowd saw him clap his hand to his mouth as though he was about to be sick -- he hit the field on all fours -- coughed -- and something gold fell into his hand.
"I've got the Snitch!" he shouted, waving it above his head, and the game ended in complete confusion.
"He didn't catch it, he nearly swallowed it," Flint was still howling twenty minutes later, but it made no difference

Harry Potter and the Philosopher's Stone - Chapter 11 : Quidditch
See this quote in the Pensive -