How can I find the neighbor point in a point cloud?

Hi everyone. I need to find the neighboring points in a point clouds. More specifically, I need find the neighborhood the point in a 3 x 3 grid. Where the reference point is in the central grid. How Could I do this?.

Can anyone give some help?