FR 5270 then FR 6814 at Manchester
Barcelona → Manchester → Madrid
Timetable, Manchester time
13:25FR 5270 from Barcelona at the gate
12:40FR 6814 to Madrid leaves the gate
23 h 15 apart on the timetable, overnight
FR 6814 leaves 23 h 15 after FR 5270 arrives on the timetable: more than half a day, so not a connection we count.