FR 9654 then FR 1768 at Lisbon
Valletta → Lisbon → Valencia
Timetable, Lisbon time
14:00FR 9654 from Valletta at the gate
12:25FR 1768 to Valencia leaves the gate
22 h 25 apart on the timetable, overnight
FR 1768 leaves 22 h 25 after FR 9654 arrives on the timetable: more than half a day, so not a connection we count.