Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:4:3

And if you fear that you will not deal justly with the orphan girls, then marry those that please you of ˹other˺ women, two or three or four. But if you fear that you will not be just, then ˹marry only˺ one or those your right hand possesses. That is more suitable that you may not incline ˹to injustice˺.  

If you fear that you will not act justly, ˹that˺ you will ˹not˺ be equitable, towards the orphans, and are thus distressed in this matter, then also fear lest you be unjust towards women when you marry them; marry such (mā means man) women as seem good to you, two or three or four, that is, ˹each man may marry˺ two, or three, or four, but do not exceed this; but if you fear you will not be equitable, towards them in terms of ˹their˺ expenses and ˹individual˺ share; then, marry, only one, or, restrict yourself to, what your right hands own, of slavegirls, since these do not have the same rights as wives; thus, by that marrying of only four, or only one, or resorting to slavegirls, it is likelier, it is nearer ˹in outcome˺, that you will not be unjust, ˹that˺ you will ˹not˺ be inequitable.
القرآن:٤:٣

وَإِنْ خِفْتُمْ أَلَّا تُقْسِطُوا فِي الْيَتَامَىٰ فَانْكِحُوا مَا طَابَ لَكُمْ مِنَ النِّسَاءِ مَثْنَىٰ وَثُلَاثَ وَرُبَاعَ ۖ فَإِنْ خِفْتُمْ أَلَّا تَعْدِلُوا فَوَاحِدَةً أَوْ مَا مَلَكَتْ أَيْمَانُكُمْ ۚ ذَٰلِكَ أَدْنَىٰ أَلَّا تَعُولُوا  

{وإن خفتم أ} ن {لا تُقسطوا} تعدلوا {في اليتامى} فتحرجتم من أمرهم فخافوا أيضا أن لا تعدلوا بين النساء إذا نكحتموهن {فانكحوا} تزوجوا {ما} بمعنى من {طاب لكم من النساء مثنى وثلاث ورباع} أي اثنتين وثلاثا وأربعا ولا تزيدوا على ذلك {فإن خفتم أ} ن {لا تعدلوا} فيهن بالنفقة والقسم؟ {فواحدةّ} انكحوها {أو} اقتصروا على {ما ملكت أيمانكم} من الإماء إذ ليس لهن من الحقوق ما للزوجات {ذلك} أي نكاح الأربع فقط أو الواحدة أو التسرَّي {أدنى} أقرب إلى {ألا تعولوا} تجوروا.