FR 9441 then AA 8727 at Madrid
Lisbon → Madrid → Barcelona
Timetable, Madrid time
23:15FR 9441 from Lisbon at the gate
19:10AA 8727 to Barcelona leaves the gate
19 h 55 apart on the timetable, overnight
AA 8727 leaves 19 h 55 after FR 9441 arrives on the timetable: more than half a day, so not a connection we count.