Abdullah bin Amr bin As reported,

The Prophet ﷺ said, "When one of you acquires a wife, a servant, or a riding animal, let him take hold of its forelock and say, 'O Allah, I ask You for the good of her and the good of the nature You have given her, and I seek refuge in You from her evil and the evil of the nature You have given her.'"

Ibn Majah 1918

Hasan

حدثنا محمد بن يحيى وصالح بن محمد بن يحيى القطان قالا حدثنا عبيد الله بن موسى حدثنا سفيان عن محمد بن عجلان عن عمرو بن شعيب عن أبيه

عن جده عبد الله بن عمرو

عن النبي ﷺ قال إذا أفاد أحدكم امرأة أو خادما أو دابة فليأخذ بناصيتها وليقل اللهم إني أسألك من خيرها وخير ما جبلت عليه وأعوذ بك من شرها وشر ما جبلت عليه

ابن ماجه 1918حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Marriage
Chapter
What a man should say when his wife comes to him
Numbering
Darussalam 1918
Ibn Majah 1918