this is my distributed-list: R2 this router in area 2 and I want to filter 10.10.3.0 (E2) from area 0 to area 2 !
R2(config)#access-list 10 deny 10.10.3.0 0.0.0.255
R2(config)#router ospf 20
R2(config-router)#distribute-list 10 in serial 1/0
this config can filter in R2 but not in R7 (R2 and R7 are in the area 2)
you can see the attached capture ;