FR 5445 then FR 2760 at Madrid
Beauvais → Madrid → Bari
Timetable, Madrid time
18:10FR 5445 from Beauvais at the gate
12:40FR 2760 to Bari leaves the gate
18 h 30 apart on the timetable, overnight
FR 2760 leaves 18 h 30 after FR 5445 arrives on the timetable: more than half a day, so not a connection we count.