Rahab And When in the KJV
2 verses of the King James Version have both "rahab" and "when".
Hebrews 11:31 By faith the harlot Rahab perished not with them that believed not, when she had received the spies with peace.
James 2:25 Likewise also was not Rahab the harlot justified by works, when she had received the messengers, and had sent them out another way?