Trying to learn how to translate from the human translation examples.
From professional translators, enterprises, web pages and freely available translation repositories.
(o prophet), call to mind when you said to him whom allah had favoured and you had favoured: “cleave to your wife and fear allah,” and you concealed within yourself for fear of people what allah was to reveal, although allah has greater right that you fear him. so when zayd had accomplished what he would of her, we gave her in marriage to you so that there should not be any constraint for the believers regarding the wives of their adopted sons after they had accomplished whatever they would of them. and allah's command was bound to be accomplished.
تۆ ئهی محمد (صلى الله عليه وسلم) کاتێ بهو کهسهی که (زید) هو خوا نیعمهتی ئیمانی پێبهخشیوه، تۆش نیعمهتی ئازادیی و پهروهردهت له نزیکی خۆتهوه پێداوه دهڵێت: هاوسهری خۆت بهێڵهرهوه لای خۆت که (زهینهب)ه، له خوا بترسهو (تهڵاقی مهده)، وه شتێک له دڵ و دهروونی خۆتدا دهشاریتهوه که خوا دهیهوێت ئاشکرای بکات، له خهڵکی دهترسیت، (لهبهر ئهوه) کاتێ که زهید خواستی و بوو به هاوسهری (پاشان ڕێک نهکهوتن و جیابوونهوهو تهڵاق کهوهته نێوانیان)، ئێمه (زهینهب)مان له تۆ مارهکرد، بۆ ئهوهی هیچ جێپێلێژبوون و دڵتهنگییهک بۆ ئیمانداران دروست نهبێت، له هێنانی هاوسهرانی بهناو کوڕیان کاتێک که پێشتر هاوسهرو حهڵالیان بوون، فهرمانی خواش دهبێت جێبهجێ بکرێت.