[Machine] The Prophet ﷺ used to say when someone got married, "May Allah bless you and bless your marriage and bring goodness and harmony between you." And in another narration, it is mentioned that the Prophet ﷺ said, "When a man gets married and is congratulated, he should mention him (i.e. the Prophet Muhammad)."
أَنَّ النَّبِيَّ ﷺ كَانَ إِذَا رَفَأَ الْإِنْسَانَ إِذَا تَزَوَّجَ قَالَ بَارَكَ اللهُ لَكَ وَبَارَكَ عَلَيْكَ وَجَمَعَ بَيْنَكُمَا فِي خَيْرٍ وَفِي رِوَايَةِ الْمُقْرِئِ قَالَ كَانَ النَّبِيُّ ﷺ إِذَا تَزَوَّجَ رَجُلٌ فَرَفَأَهُ قَالَ فَذَكَرَهُ