IB 5803 then IB 422 at Barcelona
Catania → Barcelona → Madrid
Timetable, Barcelona time
20:55IB 5803 from Catania at the gatealso LL 5803, VY 6119
19:55IB 422 to Madrid leaves the gatealso IB 422S, LA 1588, CX 1820, LL 3022, VY 5096, AV 6149, QR 8069
23 h apart on the timetable, overnight
IB 422 leaves 23 h after IB 5803 arrives on the timetable: more than half a day, so not a connection we count.