LL 5029 then IB 5186 at Barcelona
Berlin → Barcelona → Málaga
Timetable, Barcelona time
13:05LL 5029 from Berlin at the gate
12:50IB 5186 to Málaga leaves the gate
23 h 45 apart on the timetable, overnight
IB 5186 leaves 23 h 45 after LL 5029 arrives on the timetable: more than half a day, so not a connection we count.