QR 3726 then FR 149 at Barcelona
Ibiza → Barcelona → Berlin
Timetable, Barcelona time
16:30QR 3726 from Ibiza at the gate
14:20FR 149 to Berlin leaves the gate
21 h 50 apart on the timetable, overnight
FR 149 leaves 21 h 50 after QR 3726 arrives on the timetable: more than half a day, so not a connection we count.