As-luck-would-have-it Definition

adverb

(idiomatic) As it happened; how it turned out; by good fortune; fortunately or luckily.

I didn't plan to stop there, but as luck would have it, they were open when I went by.
Wiktionary
Synonyms:
Antonyms: