SQ 387 then IB 5146 at Barcelona
Madrid → Barcelona → Seville
Timetable, Barcelona time
11:15SQ 387 from Madrid at the gate
09:10IB 5146 to Seville leaves the gate
21 h 55 apart on the timetable, overnight
IB 5146 leaves 21 h 55 after SQ 387 arrives on the timetable: more than half a day, so not a connection we count.