VY 5340 then FR 404 at Madrid
Napoli → Madrid → Palma de Mallorca
Timetable, Madrid time
08:45VY 5340 from Napoli at the gatealso AA 8561
21:05FR 404 to Palma de Mallorca leaves the gate
12 h 20 apart on the timetable
FR 404 leaves 12 h 20 after VY 5340 arrives on the timetable: more than half a day, so not a connection we count.