Mishkat al-Masabih 2446
وَعَنْ عَمْرِو بْنِ شُعَيْبٍ عَنْ أَبِيهِ عَنْ جَدِّهِ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا تَزَوَّجَ أَحَدُكُمُ امْرَأَةً أَوِ اشْتَرَى خَادِمًا فَلْيَقُلْ اللَّهُمَّ إِنِّي أَسْأَلُكَ خَيْرَهَا وَخَيْرَ مَا جَبَلْتَهَا عَلَيْهِ وَأَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ مَا جَبَلْتَهَا عَلَيْهِ وَإِذَا اشْتَرَى بَعِيرًا فليأخُذْ بِذروةِ سنامِهِ ولْيَقُلْ مِثْلَ ذَلِكَ» . وَفِي رِوَايَةٍ فِي الْمَرْأَةِ وَالْخَادِمِ: «ثُمَّ لْيَأْخُذْ بِنَاصِيَتِهَا وَلْيَدْعُ بِالْبَرَكَةِ» . رَوَاهُ أَبُو دَاوُد وَابْن مَاجَه
From ʿAmr ibn Shuʿayb, from his father, from his grandfather, from the Prophet ﷺ, who said: "When one of you marries a woman or buys a servant, let him say: O Allah, I ask You for her good and the good of the nature You have created her with, and I seek refuge in You from her evil and the evil of the nature You have created her with. And when he buys a camel, let him take hold of the top of its hump and say the like of that." In a narration concerning the woman and the servant: "Then let him take hold of her forelock and supplicate for blessing." Reported by Abu Dawud and Ibn Majah.