From Imaam al-Dhahabi (rahimahullaah) who narrates in al-Siyar, the following:

Dhiyaa Al-Maqdisee said: …
Good Endings at Death (Husn Al-Khaatimah) (4) : Abdul-Ghaniy Al-Maqdisi and Others
Read More
http://piousmuslim.com/articles/bvfwtvn-factual-endings-at-dying-husn-al-khaatimah-4.cfm