FR 8716 then U2 3210 at Madrid
Manchester → Madrid → Edinburgh
Timetable, Madrid time
16:45FR 8716 from Manchester at the gate
16:30U2 3210 to Edinburgh leaves the gate
23 h 45 apart on the timetable, overnight
U2 3210 leaves 23 h 45 after FR 8716 arrives on the timetable: more than half a day, so not a connection we count.