U2 2305 then VY 5274 at Madrid
London Luton → Madrid → Palma de Mallorca
Timetable, Madrid time
19:55U2 2305 from London Luton at the gate
12:30VY 5274 to Palma de Mallorca leaves the gate
16 h 35 apart on the timetable, overnight
VY 5274 leaves 16 h 35 after U2 2305 arrives on the timetable: more than half a day, so not a connection we count.