We look at it and try to clarify the caused ambiguity about...
Ali Bin Ibrahim, from his father, from Al Nowfaly, from Al Sakuny, (It has been narrated) from Abu Abdullah -asws having said: ‘Amir Al-Momineen -asws said: ‘Rasool-Allah -saww sent me -asws to Al-Medina, so he -saww said: ‘Neither leave any picture except delete it, nor any grave except even it, nor a dog except kill it’. [6] Additional Ahadith with similar meanings are included in Appendix I.
So, when we look at the content of the Hadith, it must be related to a specific event/situation, i.e., where idols could have been installed and/or pictures of idols were installed on the graves of the non-believers, as per pre-Islamic idol worshipping rituals. Why should we assume this?
As construction of graves are allowed not only in Islamic but prior to it during the time of other holy Prophets -as , keeping dogs for security is also allowed, pictures of the natures or living beings without head are also allowed in Islam.
Get the people of Quraysh from the inhabitants of Al-Medina to come over so that I -asws can get them to bear witness’. So I -asws got the people from them to come over to him -asws , and he -asws said: ‘O Ja’far -asws ! When I -asws pass away, so wash me -asws , and enshroud me -asws , and raise my -asws grave to four fingers (in height), and sprinkle it with the water’.