FR 2064 then U2 3210 at Madrid
Palma de Mallorca → Madrid → Edinburgh
Timetable, Madrid time
17:20FR 2064 from Palma de Mallorca at the gate
16:30U2 3210 to Edinburgh leaves the gate
23 h 10 apart on the timetable, overnight
U2 3210 leaves 23 h 10 after FR 2064 arrives on the timetable: more than half a day, so not a connection we count.