FR 2897 then IB 5186 at Barcelona
Palma de Mallorca → Barcelona → Málaga
Timetable, Barcelona time
16:45FR 2897 from Palma de Mallorca at the gate
12:50IB 5186 to Málaga leaves the gate
20 h 05 apart on the timetable, overnight
IB 5186 leaves 20 h 05 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.