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