5 Salmon had Boaz by Rahab. Boaz had Obed by Ruth. Obed begot Jesse.
Matthew 1:5 Cross References - Living_Oracles
Luke 3:32
32 son of Jesse, son of Obed, son of Boaz, son of Salmon, son of Nahshon,
Hebrews 11:31
31 By faith, Rahab, the harlot, was not destroyed with the unbelievers, having received the spies in peace.
James 2:25
25 And in like manner, also, was not Rahab, the harlot, justified by works, having secretly received the messengers, and having sent them away by another road.