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