IB 2471 then IB 416 at Barcelona
Leon → Barcelona → Madrid
Timetable, Barcelona time
20:25IB 2471 from Leon at the gatealso LL 3101, VY 5871, QR 6959
17:00IB 416 to Madrid leaves the gatealso IB 416S, LL 3016, VY 5068, QR 6587, BA 7083, CZ 7325, AA 8732
20 h 35 apart on the timetable, overnight
IB 416 leaves 20 h 35 after IB 2471 arrives on the timetable: more than half a day, so not a connection we count.