UA 4592 then IB 344 at O'Hare
Omaha → Chicago → Madrid
Timetable, Chicago time
20:36UA 4592 from Omaha at the gate
19:45IB 344 to Madrid leaves the gate
23 h 09 apart on the timetable, overnight
IB 344 leaves 23 h 09 after UA 4592 arrives on the timetable: more than half a day, so not a connection we count.