FR 9440 then FR 9748 at Lisbon
Madrid → Lisbon → Alicante
Timetable, Lisbon time
21:15FR 9440 from Madrid at the gate
21:00FR 9748 to Alicante leaves the gate
23 h 45 apart on the timetable, overnight
FR 9748 leaves 23 h 45 after FR 9440 arrives on the timetable: more than half a day, so not a connection we count.