Whenever the Messenger of Allah ﷺ congratulated someone on their marriage, he would say, "May Allah bless you, may Allah shower His blessings upon you, and may He unite you both in goodness."
حدثنا سعيد بن منصور قال حدثنا عبد العزيز بن محمد عن سهيل بن أبي صالح عن أبيه
كان رسول الله ﷺ إذا رفأ إنسانا قال بارك الله لك وبارك عليك وجمع بينكما على خير