FR 5271 then QR 3517 at Barcelona
Manchester → Barcelona → Alicante
Timetable, Barcelona time
21:55FR 5271 from Manchester at the gate
18:00QR 3517 to Alicante leaves the gate
20 h 05 apart on the timetable, overnight
QR 3517 leaves 20 h 05 after FR 5271 arrives on the timetable: more than half a day, so not a connection we count.