FR 132 then QR 4702 at Barcelona
Berlin → Barcelona → Ibiza
Timetable, Barcelona time
22:35FR 132 from Berlin at the gate
22:00QR 4702 to Ibiza leaves the gate
23 h 25 apart on the timetable, overnight
QR 4702 leaves 23 h 25 after FR 132 arrives on the timetable: more than half a day, so not a connection we count.