DL 5161 then AA 1368 at Atlanta
Montgomery → Atlanta → Miami
Timetable, Atlanta time
20:35DL 5161 from Montgomery at the gate
18:54AA 1368 to Miami leaves the gate
22 h 19 apart on the timetable, overnight
AA 1368 leaves 22 h 19 after DL 5161 arrives on the timetable: more than half a day, so not a connection we count.