E9 858 then EW 9511 at Madrid
San José (Costa Rica) → Madrid → Düsseldorf
Timetable, Madrid time
14:30E9 858 from San José (Costa Rica) at the gate
13:10EW 9511 to Düsseldorf leaves the gate
22 h 40 apart on the timetable, overnight
EW 9511 leaves 22 h 40 after E9 858 arrives on the timetable: more than half a day, so not a connection we count.