AA 5564 then AA 748 at Charlotte
Harrisburg → Charlotte → Madrid
Timetable, Charlotte time
18:46AA 5564 from Harrisburg at the gate
15:55AA 748 to Madrid leaves the gate
21 h 09 apart on the timetable, overnight
AA 748 leaves 21 h 09 after AA 5564 arrives on the timetable: more than half a day, so not a connection we count.