FR 7241 then FR 808 at Dublin
Madrid → Dublin → Edinburgh
Timetable, Dublin time
11:40FR 7241 from Madrid at the gate
11:15FR 808 to Edinburgh leaves the gate
23 h 35 apart on the timetable, overnight
FR 808 leaves 23 h 35 after FR 7241 arrives on the timetable: more than half a day, so not a connection we count.