As luck would have it


Fortuna ha voluto che …

Sfortuna ha voluto che … / Per somma fortuna / Per somma sfortuna


Meanings
Luckily or unluckily, according to the events

Examples
We ran out of gas, but as luck would have it, the nearest gas station was only a five-minute walk away
Siamo rimasti senza benzina, ma fortuna ha voluto che ci fosse un distributore a soli cinque minuti a piedi

I was at the airport, ready to leave on vacation, but as luck would have it, my flight was cancelled due to technical reasons and I had to spend the night at the airport
Ero in aereoporto pronto a partire per le vacanze, ma sfortuna ha voluto che il mio volo venisse cancellato per problemi tecnici, così ho dovuto passare la notte in aereoporto