EC 7174 then QR 3503 at Barcelona
Berlin → Barcelona → Ibiza
Timetable, Barcelona time
23:05EC 7174 from Berlin at the gate
14:55QR 3503 to Ibiza leaves the gate
15 h 50 apart on the timetable, overnight
QR 3503 leaves 15 h 50 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.