FR 606 then AA 8651 at Madrid
Copenhagen → Madrid → Barcelona
Timetable, Madrid time
20:50FR 606 from Copenhagen at the gate
18:00AA 8651 to Barcelona leaves the gate
21 h 10 apart on the timetable, overnight
AA 8651 leaves 21 h 10 after FR 606 arrives on the timetable: more than half a day, so not a connection we count.