Real Madrid were hoping to avenge their 4-0 home defeat by Barcelona in October's La Liga Clasico but instead were left battered and bruised by their arch-rivals in Jeddah.