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