Hi Ousmanenatha,
I think you want to redistribute specific static route with modified metric, if so, you need to match static route via prefix list ( it will match static route with exact prefix length) and now set costom metric via router-map. Now call this router map in redistributiion:
#route-map static-to-ospf permit 20
match ip address prefix-list pfx
set metric 40000 1000 255 1 1500
RTR(config-router)#redistribute static route-map static-to-ospf
Always rate helpfull posts
Sajid Ali Pathan