U2 7838 then IB 732 at Schiphol
Edinburgh → Amsterdam → Madrid
Timetable, Amsterdam time
14:55U2 7838 from Edinburgh at the gate
12:15IB 732 to Madrid leaves the gate
21 h 20 apart on the timetable, overnight
IB 732 leaves 21 h 20 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.