A3 700 then FR 2051 at Madrid
Athens → Madrid → Palma de Mallorca
Timetable, Madrid time
12:05A3 700 from Athens at the gate
06:05FR 2051 to Palma de Mallorca leaves the gate
18 h apart on the timetable, overnight
FR 2051 leaves 18 h after A3 700 arrives on the timetable: more than half a day, so not a connection we count.