Matthew 1:5

1:5 Salmon the father of Boaz (by Rahab), Boaz the father of Obed (by Ruth), Obed the father of Jesse,

Luke 3:32

3:32 the son of Jesse, the son of Obed, the son of Boaz, the son of Sala, the son of Nahshon,