Real Madrid cannot play Barcelona until the final of the Copa del Rey after the draw for the late stages of this season's competition was made on Friday.