因祸得福

yīn huò dé fú

to have some good come out of a bad situation (idiom)

a blessing in disguise

yīn

old variant of 因[yin1]

huò

disaster

to obtain

abbr. for Fujian province 福建省[Fu2 jian4 Sheng3]