UA 2822 then UA 3907 at Houston
Midland → Houston → Washington
Timetable, Houston time
08:34UA 2822 from Midland at the gate
07:00UA 3907 to Washington leaves the gate
22 h 26 apart on the timetable, overnight
UA 3907 leaves 22 h 26 after UA 2822 arrives on the timetable: more than half a day, so not a connection we count.