صحیح ابن حبان
Sahih Ibn Hibban
كِتَابُ الجَنَائِزِ وَمَا يَتَعَلَّقُ بِهَا مُقَدَّمًا أَوْ مُؤَخَّرًا
Book of Funerals and Related Matters
فصل في الصلاة على الجنازة - ذكر العلة التي من أجلها تجوز الصلاة على القبر
Section on the funeral prayer – The reason why praying at the grave is allowed
Hadith Number: 3090
اخبرنا محمد بن عبد الرحمن بن محمد الدغولي ، قال: حدثنا محمد بن يحيى الذهلي ، قال: حدثنا وهب بن جرير ، عن شعبة ، عن إسماعيل ، عن الشعبي ، عن ابن عباس ، قال: " اتى رسول الله صلى الله عليه وسلم على قبر منبوذ، فصلى عليه وصلينا معه" ، قال ابو حاتم رضي الله عنه: في هذا الخبر بيان واضح ان صلاة المصطفى صلى الله عليه وسلم على القبر إنما كانت على قبر منبوذ، والمنبوذ ناحية، فدلتك هذه اللفظة على ان الصلاة على القبر جائزة إذا كان جديدا في ناحية لم تنبش، او في وسط قبور لم تنبش، فاما القبور التي نبشت، وقلب ترابها صار ترابها نجسا، لا تجوز الصلاة على النجاسة إلا ان يقوم الإنسان على شيء نظيف، ثم يصلي على القبر المنبوش دون المنبوذ الذي لم ينبش.
Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: The Prophet Muhammad (peace and blessings be upon him) came to a secluded grave, and he performed the funeral prayer over it. We also performed the funeral prayer behind him. (Imam Ibn Hibban, may Allah have mercy on him, says:): In this narration, there is a clear statement: The Prophet Muhammad (peace and blessings be upon him) performed the funeral prayer over a grave that was in a corner. The word "manboodh" means "corner," so these words will guide you to the fact that performing the funeral prayer over a grave is permissible as long as it is new and in a corner that has not been dug up, or among graves that have not been dug up. As for those graves that are dug up and their soil is turned over, their soil becomes impure, and it is not permissible to pray on something impure. However, if a person stands on something clean and then performs the funeral prayer over a grave that has been dug up (then its ruling is different), and this ruling is other than that which is in a corner and has not been dug up.
تخریج الحدیث: