FR 2052 then ES 894 at Madrid
Palma de Mallorca → Madrid → Caracas
Timetable, Madrid time
16:50FR 2052 from Palma de Mallorca at the gate
13:40ES 894 to Caracas leaves the gate
20 h 50 apart on the timetable, overnight
ES 894 leaves 20 h 50 after FR 2052 arrives on the timetable: more than half a day, so not a connection we count.