FR 2062 then IB 381 at Madrid
Palma de Mallorca → Madrid → San Juan
Timetable, Madrid time
16:05FR 2062 from Palma de Mallorca at the gate
12:35IB 381 to San Juan leaves the gate
20 h 30 apart on the timetable, overnight
IB 381 leaves 20 h 30 after FR 2062 arrives on the timetable: more than half a day, so not a connection we count.