EC 7102 then IB 5062 at Barcelona
Basel → Barcelona → Granada
Timetable, Barcelona time
12:20EC 7102 from Basel at the gate
12:00IB 5062 to Granada leaves the gate
23 h 40 apart on the timetable, overnight
IB 5062 leaves 23 h 40 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.