“And the city shall be accursed, even it, and all that are therein, to the LORD: only Rahab the harlot shall live, she and all that are with her in the house, because she hid the messengers that we sent.”
Bible
“And Joshua saved Rahab the harlot alive, and her father's household, and all that she had; and she dwelleth in Israel even unto this day; because she hid the messengers, which Joshua sent to spy out Jericho.”
“Likewise also was not Rahab the harlot justified by works, when she had received the messengers, and had sent them out another way? / For as the body without the spirit is dead, so faith without works is dead also.”
“Then leave it a plain, smooth level / You shall not see therein any crookedness or unevenness.”
quran
“They shall say while they contend therein: / By Allah! we were certainly in manifest error, / When we made you equal to the Lord of the worlds; / And none but the guilty led us astray; / So we have no intercessors, / Nor a true friend; / But if we could but once return, we would be of the believers.”
“When they shall be cast therein, they shall hear a loud moaning of it as it heaves, / Almost bursting for fury. Whenever a group is cast into it, its keeper shall ask them: Did there not come to you a warner? / They shall say: Yea! indeed there came to us a warner, but we rejected (him) and said: Allah has not revealed anything, you are only in a great error.”
“For you therein are many fruits of which you shall eat.”