FR 775 then IB 5324 at Barcelona
Torino → Barcelona → Palma de Mallorca
Timetable, Barcelona time
17:20FR 775 from Torino at the gate
15:40IB 5324 to Palma de Mallorca leaves the gate
22 h 20 apart on the timetable, overnight
IB 5324 leaves 22 h 20 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.