AA 2231 then AA 2795 at Miami
Cleveland → Miami → Richmond
Timetable, Miami time
21:51AA 2231 from Cleveland at the gate
21:40AA 2795 to Richmond leaves the gate
23 h 49 apart on the timetable, overnight
AA 2795 leaves 23 h 49 after AA 2231 arrives on the timetable: more than half a day, so not a connection we count.