My Little Pony friendship is magic season 1 episode 8 "Look Before You Sleep"
During a thunderstorm, Twilight invites Applejack and Rarity to her house for a slumber party. However, the latter two have a hard time getting along after a recent argument, until an accident...