لَّا يَنْهَىٰكُمُ ٱللَّهُ عَنِ ٱلَّذِينَ لَمْ يُقَـٰتِلُوكُمْ فِى ٱلدِّينِ وَلَمْ يُخْرِجُوكُم مِّن دِيَـٰرِكُمْ أَن تَبَرُّوهُمْ وَتُقْسِطُوٓا۟ إِلَيْهِمْ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُقْسِطِينَ
Laa yanhaakumul laahu 'anil lazeena lam yuqaatilookum fid deeni wa lam yukhrijookum min diyaarikum an tabarroohum wa tuqsitooo ilaihim; innal laaha yuhibbul muqsiteen
and He does not forbid you to deal kindly and justly with anyone who has not fought you for your faith or driven you out of your homes: God loves the just.
God does not forbid you from being kind and just toward those who have not fought you over religion and have not driven you from your homes. Indeed, God loves those who act justly.
Birr, the kindness this verse allows, is the noun behind Yahya's devotion to his parents and Isa's to his mother, so the goodwill in view is spoken in family language. The next verse mirrors this one, turning its two conditions positive and adding a third, backing others who drove you out. Qatada and some early authorities held the verse cancelled by the later commands to fight, and al-Tabari argued at length that it was never cancelled.