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