FR 9840 then FR 9748 at Lisbon
Cologne → Lisbon → Alicante
Timetable, Lisbon time
23:30FR 9840 from Cologne at the gate
20:55FR 9748 to Alicante leaves the gate
21 h 25 apart on the timetable, overnight
FR 9748 leaves 21 h 25 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.