FR 2897 then IB 5170 at Barcelona
Palma de Mallorca → Barcelona → Bilbao
Timetable, Barcelona time
16:45FR 2897 from Palma de Mallorca at the gate
15:35IB 5170 to Bilbao leaves the gate
22 h 50 apart on the timetable, overnight
IB 5170 leaves 22 h 50 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.