IB 5341 then IB 2470 at Barcelona
Rome → Barcelona → Leon
Timetable, Barcelona time
17:05IB 5341 from Rome at the gatealso LL 5341, VY 6011
17:00IB 2470 to Leon leaves the gatealso LL 3100, VY 5870, QR 8047
23 h 55 apart on the timetable, overnight
IB 2470 leaves 23 h 55 after IB 5341 arrives on the timetable: more than half a day, so not a connection we count.