This is an expression used by Guiguzi in fortune-telling, and is usually used to describe the relationship between husband and wife.
The phrase "Mandarin ducks are so beautiful when the sun shines in pairs" means that the relationship between husband and wife is harmonious, loving and inseparable, just like mandarin ducks. But the following "Rain and wind will not last long" means that this beautiful relationship will not last long and may be separated due to some reasons.
"The gull came to the same place late" means that after the couple separates, both parties may meet a new partner, but there will also be some difficulties and challenges. The last part, "The fragrance of osmanthus in the willow shade" means that the couple will eventually reunite and live a happy life.
In short, this method of fortune telling uses metaphors and symbolic language to describe the marriage relationship, rather than truly predicting the future. Therefore, we should treat it rationally and not be too superstitious.