FR 3008 then AM 39 at Madrid
Milan → Madrid → Guadalajara
Timetable, Madrid time
19:50FR 3008 from Milan at the gate
13:30AM 39 to Guadalajara leaves the gate
17 h 40 apart on the timetable, overnight
AM 39 leaves 17 h 40 after FR 3008 arrives on the timetable: more than half a day, so not a connection we count.