The Messenger of Allah ﷺ said, "Allah has said, 'Whoever shows enmity to a friend of Mine, I have declared war against him. My servant draws near to Me with nothing more beloved to Me than what I have made obligatory upon him. My servant continues to draw near to Me through voluntary acts of worship until I love him. When I love him, I become his hearing with which he hears, his sight with which he sees, his hand with which he strikes, and his foot with which he walks. If he asks Me, I will surely give him, and if he seeks refuge in Me, I will surely grant him refuge. I have not hesitated about anything I do as much as I hesitate to take the soul of the believer, for he hates death, and I hate to displease him.'"
قال رسول الله ﷺ: إن الله قال: من عادى لي وليا فقد آذنته بالحرب، وما تقرب إلي عبدي بشيء أحب إلي مما افترضته عليه، وما يزال عبدي يتقرب إلي بالنوافل حتى أحبه، فإذا أحببته كنت سمعه الذي يسمع به وبصره الذي يبصر به، ويده التي يبطش بها، ورجله التي يمشي بها، وإن سألني لأعطينه، ولئن استعاذني لأعيذنه، وما ترددت عن شيء أنا فاعله ترددي عن نفس المؤمن، يكره الموت، وأنا أكره مساءته.
Bukhari narrated it in Riqaq (6502) from Muhammad bin Uthman, who said, Khalid bin Mukhlid narrated to us, who said, Sulayman bin Bilal narrated to us, who said, Sharik bin Abdullah bin Abu Nimr narrated to me, from Ataa, from Abu Hurairah, and he mentioned it.As for what is narrated from Anas bin Malik, from the Prophet ﷺ, from Jibreel, from Allah , he said, "Allah
says, 'Whoever harms a friend of Mine has declared war on Me. I become angry for My friends as an enraged lion becomes angry. My believing servant does not draw near to Me with anything more beloved to Me than performing what I have made obligatory upon him. My believing servant continues to draw near to Me through voluntary acts of worship until I love him. When I love him, I become his hearing, his sight, his hand, and his supporter. If he calls upon Me, I answer him, and if he asks Me, I give him. I do not hesitate about anything I do as I hesitate about taking the soul of My believing servant. He dislikes death, and I dislike distressing him, but it is inevitable for him. Among My believing servants there is one who asks Me for a certain door of worship, but I withhold it from him so that vanity does not enter him and thereby corrupt him. Among My believing servants there is one whose faith is sound only through wealth, and if I made him poor it would corrupt him. Among My believing servants there is one whose faith is sound only through poverty, and if I made him wealthy it would corrupt him. Among My believing servants there is one whose faith is sound only through health, and if I made him ill it would corrupt him. Among My believing servants there is one whose faith is sound only through illness, and if I made him healthy it would corrupt him. I manage the affairs of My servants by My knowledge of their hearts. I am All-Knowing, All-Aware.'"It is daif. Abu Naeem narrated it in Hilyah (8/318), Baghawi in Sharh al-Sunnah (5/22), Bayhaqi in Asma wa Sifat (1/307), and Ibn Jawzi in Ilal Mutanahiya (1/31–32), through various routes from Hasan bin Yahya Khashani, from Sadaqa Dimashqi, from Hisham Kinani, from Anas bin Malik, and he mentioned it.Ibn Jawzi said, "Ibn Main said about Hasan bin Yahya Khashani, 'He is nothing.' Daraqutni said, 'He is discarded.' And Sadaqa Dimashqi is impugned."I say, Hasan bin Yahya Khashani is a subject of disagreement. Ajurri reported from Abu Dawud, "I heard Ahmad say, 'There is no harm in him.'" Saji said, Abu Dawud narrated to us, Sulayman bin Abdul-Rahman narrated to us, Hasan bin Yahya Khashani narrated to us, and he was trustworthy. Duhaym said, "There is no harm in him."As for Ibn Main, there is disagreement over his view. Abbas Duri reported him saying, "He is nothing." Ibn Abu Maryam reported him saying, "A trustworthy Khurasani." Ibn Junayd said, "Hasan bin Yahya and Maslama bin Ali, the two Khashanis, are both daif, they are nothing, though Hasan is more preferable to me of the two."Nasai, Hakim Abu Ahmad, Daraqutni, Abdul-Ghani bin Saeed, and others impugned him. So he is closer to daif, but he is not accused of fabrication, and this is why Hafiz said in Taqrib, "Truthful, but makes many errors."Ibn Adi cited a number of his objectionable narrations, and this hadith was not among them, and he said, "He is among those whose narration can be tolerated."But Ibn Rajab said in Jami al-Ulum wal-Hikam (p. 314), after attributing it to Tabarani, "Khashani and Sadaqa are both daif, and Hisham Kinani is unknown. Ibn Main was asked about this Hisham, who is he? He said, 'No one,' meaning that he is not to be given any consideration." End of quote.Abu Naeem said, "It is unusual from the hadith of Anas. No one narrated it in this wording except Hisham Kinani, and from him Sadaqa bin Abdullah Abu Muawiya Dimashqi, and Hasan bin Yahya Khashani alone transmitted it."And "Khashani" has been corrupted into "Husni."The second part of it has a corroborating narration from the hadith of Umar bin Khattab as a raised report, "Jibreel came to me and said, 'Muhammad, your Lord conveys His greetings of peace to you and says, Among My servants there is one whose faith is sound only through wealth, and if I made him poor he would disbelieve. Among My servants there is one whose faith is sound only through poverty, and if I made him wealthy he would disbelieve. Among My servants there is one whose faith is sound only through illness, and if I made him healthy he would disbelieve. Among My servants there is one whose faith is sound only through health, and if I made him ill he would disbelieve.'"Abu Bakr Khatib Baghdadi narrated it in Tarikh Baghdad (6/15), and from him Ibn Jawzi in Ilal Mutanahiya (1/31).In it is Isa Ramli, meaning Yahya, Tamimi Nahshali. Ibn Main said, "He is nothing." Nasai said, "He is not strong." Ibn Hibban said in Majruhin (1219), "He was among those whose memory deteriorated and whose errors multiplied, to the point that he came to contradict the reliable narrators in what he transmitted from trustworthy sources. When this became frequent in his narration, using him as evidence became invalid." Ibn Adi said in Kamil (7/2673), "Most of his narrations are such that he is not corroborated in them."Ibn Jawzi said, "This hadith is not sound, because it contains Yahya bin Isa Ramli," then he mentioned the statements of Yahya and Ibn Hibban. As for the fact that Muslim narrated from him, perhaps he selected from his narrations only what he did not err in, and he has corroborating narrations.