Ron Weasley. On the Hogwarts Express in Philosopher's Stone, Harry shares a compartment with Ron before ever encountering Draco Malfoy (who introduces himself later on the train, then again at the Sorting).
Chronology: Platform 9¾ → train compartment (Ron) → corridor encounter (Draco) → Great Hall (Sorting). Ron is Harry's first peer friend; Draco is his first peer antagonist.