QR 3706 then FR 2889 at Barcelona
Bari → Barcelona → Palma de Mallorca
Timetable, Barcelona time
23:25QR 3706 from Bari at the gate
20:55FR 2889 to Palma de Mallorca leaves the gate
21 h 30 apart on the timetable, overnight
FR 2889 leaves 21 h 30 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.