A cemetery visit should preserve the dignity of graves and avoid frivolous or disruptive conduct. Sitting directly on a grave or making one the direction of ritual prayer are the two behaviors specifically identified in the narration.
The distinction between عَلَى (“on”) and إِلَى (“toward”) demonstrates how small Arabic words define different actions. A full discussion of visitation, supplication, and prayer at burial sites requires a separate, more advanced study.