FR 651 then FR 4518 at Dublin
Lisbon → Dublin → Athens
Timetable, Dublin time
23:40FR 651 from Lisbon at the gate
17:50FR 4518 to Athens leaves the gate
18 h 10 apart on the timetable, overnight
FR 4518 leaves 18 h 10 after FR 651 arrives on the timetable: more than half a day, so not a connection we count.