EC 7102 then LA 5745 at Barcelona
Basel → Barcelona → Málaga
Timetable, Barcelona time
14:40EC 7102 from Basel at the gate
11:45LA 5745 to Málaga leaves the gate
21 h 05 apart on the timetable, overnight
LA 5745 leaves 21 h 05 after EC 7102 arrives on the timetable: more than half a day, so not a connection we count.