IB 810 then U2 3210 at Madrid
Prague → Madrid → Edinburgh
Timetable, Madrid time
18:45IB 810 from Prague at the gatealso LA 1648, VY 5173, AA 8717
18:40U2 3210 to Edinburgh leaves the gate
23 h 55 apart on the timetable, overnight
U2 3210 leaves 23 h 55 after IB 810 arrives on the timetable: more than half a day, so not a connection we count.