Abdullah bin Amr bin As reported,

Abdullah bin Amr reported that the Prophet ﷺ said, "When one of you marries a woman or purchases a servant, let him say, 'O Allah, I ask You for her goodness and the goodness of the nature with which You have created her, and I seek refuge in You from her evil and the evil of the nature with which You have created her.' And when one of you buys a camel, let him take hold of the top of its hump and say the same."In another wording, "When one of you acquires a wife, a servant, or a riding animal, let him take hold of its forelock and say," and he then mentioned the supplication.

Azami 11142

Hasan

عن عمرو بن شعيب، عن أبيه، عن جده

عبد الله بن عمرو، عن النبي ﷺ قال: إذا تزوج أحدكم امرأة، أو اشترى خادما فليقل: اللهم إني أسألك خيرها، وخير ما جبلتها عليه، وأعوذ بك من شرها ومن شر ما جبلتها عليه، وإذا اشترى بعيرا فليأخذ بذروة سنامه وليقل مثل ذلك. وفي لفظ: إذا أفاد أحدكم امرأة، أو خادما، أو دابة، فليأخذ بناصيتها، وليقل: فذكر الحديث.

الأعظمي 11142حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications related to zakat, fasting, Hajj, slaughter, hunting, and transactions
Section
What is said when purchasing a riding animal or a servant
Numbering
Jami al-Kamil 11142 (2nd edition)