The iconic Sonic Rainboom—Rainbow Dash's supersonic, rainbow-trailed breakthrough—first occurs in:
My Little Pony: Friendship is Magic, Season 1, Episode 13: "The Ticket Master."
(Note: Some sources cite Episode 16 "Sonic Rainboom" as the named episode where she perfects it, but the first on-screen occurrence is in "The Ticket Master" during the race for the Grand Galloping Gala tickets.)