AA 8651 then FR 3800 at Barcelona
Madrid → Barcelona → Birmingham (UK)
Timetable, Barcelona time
19:15AA 8651 from Madrid at the gate
16:10FR 3800 to Birmingham (UK) leaves the gate
20 h 55 apart on the timetable, overnight
FR 3800 leaves 20 h 55 after AA 8651 arrives on the timetable: more than half a day, so not a connection we count.