Chelsea were made to wait for qualification to the Champions League knockout stages after drawing 1-1 with Real Madrid.