Sayyiduna Abu Marthad Ghanawi (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: Do not sit on the grave and do not pray towards it.