IB 652 then U2 3210 at Madrid
Rome → Madrid → Edinburgh
Timetable, Madrid time
18:55IB 652 from Rome at the gatealso LA 1640, VY 5825, QR 8017
18:40U2 3210 to Edinburgh leaves the gate
23 h 45 apart on the timetable, overnight
U2 3210 leaves 23 h 45 after IB 652 arrives on the timetable: more than half a day, so not a connection we count.