Is there a problem with nailing mahogany in and around the grave?

If there is a problem, the person who nailed the mahogany nail must have a deep hatred with the deceased, and it is difficult to understand why, so he cut off the ancestral vein of the deceased and was vicious with his heart.

From ancient times to the present, mahogany is an evil thing, which can be hung in purlins or indoors. If mahogany is nailed into and around graves. That is a problem or a big problem, so doing so will make the two families puzzled.