Jabir bin Abdullah reported,

The Messenger of Allah ﷺ asked, "Have you married, Jabir?"I replied, "Yes."He said, "May Allah bless you," or he said to me something good. In another narration, "May Allah bless you."

Azami 11154

Sahih

عن جابر بن عبد الله قال في حديث طويل

قال رسول الله ﷺ: تزوجت يا جابر؟ فقلت: نعم… فقال: بارك الله لك. أو قال لي خيرا. وفي رواية: فبارك الله عليك.

الأعظمي 11154صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for marriage and what relates to it
Section
What is said to one who gets married
Numbering
Jami al-Kamil 11154 (2nd edition)
Azami 11154