QR 3774 then QR 3544 at Barcelona
Torino → Barcelona → Ibiza
Timetable, Barcelona time
16:25QR 3774 from Torino at the gate
08:00QR 3544 to Ibiza leaves the gate
15 h 35 apart on the timetable, overnight
QR 3544 leaves 15 h 35 after QR 3774 arrives on the timetable: more than half a day, so not a connection we count.