FR 879 then IB 416 at Barcelona
Venezia → Barcelona → Madrid
Timetable, Barcelona time
22:30FR 879 from Venezia at the gate
17:00IB 416 to Madrid leaves the gatealso LL 3016, VY 5068, QR 6587, BA 7083, CZ 7325, AA 8732
18 h 30 apart on the timetable, overnight
IB 416 leaves 18 h 30 after FR 879 arrives on the timetable: more than half a day, so not a connection we count.