This is Not a Hadith
Sahaba Addressed to the Grave While Burying Fatima r.a.
A speaker said, while burying Hadhrat Fatima r.a., the Companions addressed the grave and said, O grave, be careful. Do you know who is coming to you? She is the beloved daughter of Sayyidul 'alamin. Then the grave answered, I do not know anyone; here everyone will be treated according to his deeds.'
This is a baseless story. It is not found in any reliable hadith or history books. A common Muslim can not say such things while burying someone, let alone the Sahabah. It is a well-known teaching of Islam that the book of account in the hereafter will be based on faith and deeds, a belief shared by every Muslim. It is very absurd to imagine that Sahaba addressed the grave and said these things.
The Prophet, may Allah bless him and grant him peace, during his lifetime, said to his daughter_ O Fatimah, save yourself from the fire of hell. Because I do not benefit and harm you. -Sahih Muslim 2/114; Jame Tirmidhi hadith 3185
And also said-
يَا فَاطِمَةُ بِنْتَ مُحَمَّدٍ سَلِينِي مَا شِئْتِ مِنْ مَالِي لاَ أُغْنِي عَنْكِ مِنَ اللَّهِ شَيْئًا
O Fatima bint Muhammad, you may ask for whatever you want from my wealth, but I will not be of any use to you in the matter of Allah Ta'ala. -Sahih Bukhari Hadith 4771; Sahih Muslim 2/114
After this clear teaching of Rasulullah Sallallahu Alaihi Wasallam, how can the Companions say these things to the grave? May Allah guide us all. Amin.