FR 3977 then QR 3506 at Barcelona
Dublin → Barcelona → Alicante
Timetable, Barcelona time
21:10FR 3977 from Dublin at the gate
19:05QR 3506 to Alicante leaves the gate
21 h 55 apart on the timetable, overnight
QR 3506 leaves 21 h 55 after FR 3977 arrives on the timetable: more than half a day, so not a connection we count.