FR 8991 then FR 188 at Madrid
Verona → Madrid → Edinburgh
Timetable, Madrid time
15:15FR 8991 from Verona at the gate
10:30FR 188 to Edinburgh leaves the gate
19 h 15 apart on the timetable, overnight
FR 188 leaves 19 h 15 after FR 8991 arrives on the timetable: more than half a day, so not a connection we count.