U2 7838 then U2 7925 at Schiphol
Edinburgh → Amsterdam → Prague
Timetable, Amsterdam time
14:55U2 7838 from Edinburgh at the gate
07:00U2 7925 to Prague leaves the gate
16 h 05 apart on the timetable, overnight
U2 7925 leaves 16 h 05 after U2 7838 arrives on the timetable: more than half a day, so not a connection we count.