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:3:195

And their Lord responded to them, "Never will I allow to be lost the work of ˹any˺ worker among you, whether male or female; you are of one another. So those who emigrated or were evicted from their homes or were harmed in My cause or fought or were killed - I will surely remove from them their misdeeds, and I will surely admit them to gardens beneath which rivers flow as reward from Allah, and Allah has with Him the best reward."  

And their Lord answers them, their supplication, by saying that, ‘I do not let the labour of any labourer among you go to waste, be you male or female — the one of you is as the other (this statement is a reaffirmation of the previous one): that is, they are both equal when it comes to recompensing them for their deeds and for not neglecting them. When Umm Salama asked, ‘O Messenger of God, why is there no mention of women when it comes to the Emigration (hijra)?’, the following was revealed: and those who emigrated, from Mecca to Medina, and were expelled from their habitations, those who suffered hurt in My way, for My religion, and fought, the disbelievers, and were slain (read qutilū or quttilū) — them I shall surely absolve of their evil deeds, concealing these with forgiveness, and I shall admit them to Gardens underneath which river flow’. A reward (thawāban is a verbal noun reaffirming the import of la-ukaffiranna) from God! (there is a shift of person here). And God — with Him is the fairest reward, ˹the fairest˺ requital.
القرآن:٣:١٩٥

فَاسْتَجَابَ لَهُمْ رَبُّهُمْ أَنِّي لَا أُضِيعُ عَمَلَ عَامِلٍ مِنْكُمْ مِنْ ذَكَرٍ أَوْ أُنْثَىٰ ۖ بَعْضُكُمْ مِنْ بَعْضٍ ۖ فَالَّذِينَ هَاجَرُوا وَأُخْرِجُوا مِنْ دِيَارِهِمْ وَأُوذُوا فِي سَبِيلِي وَقَاتَلُوا وَقُتِلُوا لَأُكَفِّرَنَّ عَنْهُمْ سَيِّئَاتِهِمْ وَلَأُدْخِلَنَّهُمْ جَنَّاتٍ تَجْرِي مِنْ تَحْتِهَا الْأَنْهَارُ ثَوَابًا مِنْ عِنْدِ اللَّهِ ۗ وَاللَّهُ عِنْدَهُ حُسْنُ الثَّوَابِ  

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