Which of the following examples can work ? More than one may be correct.
1st
Example:
router ospf 1
distribute-list route-map filter-from-r4 in
route-map filter-from-r4 deny 10
match
ip address prefix-list three
match ip next-hop prefix-list four
route-map filter-from-r4 permit 100
exit
ip prefix-list three permit 150.22.3.3/32
ip prefix-list four permit
155.22.146.4/32
2nd
Example:
router ospf 1
distribute-list route-map filter-from-r4 in
route-map filter-from-r4 deny 10
match
ip address 3
match ip next-hop 4
route-map filter-from-r4 permit 100
exit
access-list 3 permit 150.22.3.3
access-list 4 permit 155.22.146.4
3nd
Example:
router ospf 1
distribute-list route-map filter-from-r4 in
route-map filter-from-r4 deny 10
match
ip address prefix-list three
match ip next-hop 4
route-map filter-from-r4 permit 100
exit
ip prefix-list three permit
150.22.3.3/32
access-list 4 permit 155.22.146.4
2nd and 3rd Example will work.
The route map does not support match ip next hop <prefix-list> when using it with any of the routing protocol. Here is the Cisco link