The Messenger of Allah ﷺ said, "A man may have a high station with Allah which he cannot reach through his deeds, so Allah continues to test him with what he dislikes until He brings him to that station."
قال رسول الله ﷺ: إن الرجل لتكون له عند الله المنزلة فما يبلغها بعمل، فما يزال الله يبتليه بما يكره حتى يبلغه إياها.
Narrated by Abu Yaala (6069) from Abu Kurayb, who said, Yunus bin Bukayr told us, Yahya bin Ayub told us, Abu Zura told us, Abu Hurairah told us, and he related it.Haythami mentioned it in Majmu (2/292) and said, "Abu Yaala narrated it, and in one of his narrations it reads, 'He will have with Allah an elevated rank.' Its narrators are trustworthy."I say, it is as he said. Ibn Hibban narrated it in Sahih (2908) from Muhammad bin Ala bin Kurayb (who is Abu Kurayb Kufi, well known by his kunya), and Hakim (1/344) narrated it through Ahmad bin Abdul-Jabbar, both of them from Yunus bin Bukayr with the same chain, similarly. Hakim said, "This is a hadith sahih in its isnad, though the two of them (Bukhari and Muslim) did not include it." But Dhahabi rejected this, saying, "Yahya and Ahmad are both daif, and Yunus is not a reliable authority."I say, this Yahya is Yahya bin Ayub bin Abu Zura Bajali. Abu Dawud and Bazzar deemed him trustworthy, and Ibn Main said, "There is no harm in him." Someone like him has his hadith graded hasan, not daif, even though Ibn Main did weaken him in one narration from him. For this reason Hafiz said of him, "There is no harm in him."As for Ahmad bin Abdul-Jabbar (who is Attaridi), although he is daif, Daraqutni said of him, "There is no harm in him." Moreover, he was not alone in narrating this, as you have seen.As for Yunus bin Bukayr (who is Shaybani), although he is not a reliable authority, he does not fall below the rank of hasan. Dhahabi himself said in Mizan, in his biographical entry, "One of the leading scholars of hadith and biography (sirah)." He then said, "Muslim cited Yunus in supporting narrations, not in the main body of his book, and likewise Bukhari mentioned him as a supporting witness. He is hasan al-hadith." Hafiz in Taqrib was content to say of him, "He makes errors." And Allah knows best.On this subject there is also what was narrated from Muhammad bin Khalid Sulami, from his father, from his grandfather, who had companionship with the Messenger of Allah ﷺ, who said, I heard the Messenger of Allah ﷺ say, "When a servant has been preordained by Allah a rank that he cannot reach through his deeds, Allah tests him in his body, or his wealth, or his children, and then grants him patience through it, until he reaches the rank preordained for him by Allah, Most High."Abu Dawud narrated it (3090) through two paths, from Abu Malih, from Muhammad bin Khalid, with his chain, and he related it. Through this same route it was also narrated by Imam Ahmad (22338), and Ibn Abu Dunya in Illness and Expiations (39), and Tabarani in Kabir and Awsat, as mentioned in Targhib (4/283). He said, "No one narrated from Muhammad bin Khalid except Abu Malih Raqqi, and no one narrated from Khalid except his son Muhammad."Hafiz Haythami said in Majmu (2/292), "Tabarani narrated it in Kabir and Awsat, and Ahmad narrated it, and it contains a story, and I do not know Muhammad bin Khalid or his father." This means that Muhammad and his father are both unknown (majhul). Hafiz said the same in Taqrib.He is Muhammad bin Khalid bin Lajlaj Sulami. Hafiz said, in the biographical entry on Khalid bin Lajlaj, "Abu Dawud narrated a hadith from him, and did not name his father, but Ibn Manda named him." I say, Abu Naeem Asbahani likewise named him in Marifat Sahabah (5/2426), saying he was "Lajlaj bin Hakeem Sulami," and he narrated this hadith of his there. Dhahabi said in Mizan, in the biographical entry on Muhammad bin Khalid, from his father, from his grandfather Abu Khalid Sulami, "It is not known who these people are. Abu Malih Raqqi narrated from him."The story to which Haythami alluded is that his grandfather set out to visit one of his brothers, and it reached him before he entered upon him that the man was unwell. So he entered upon him and said, "I have come to you as a visitor, and I have come to you inquiring after your health, and bringing good news." The man said, "How have you combined all of this?" He said, "I set out intending to visit you, then news of your illness reached me, so it became an inquiry after your health, and I bring you good news of something I heard from the Messenger of Allah ﷺ." He then related the hadith.On this subject there is also a hadith attributed to Ayesha, as a saying of the Prophet, "When the sins of a servant increase, and he has no deeds to expiate them, Allah afflicts him with grief in order to expiate them for him." Imam Ahmad narrated it (25236), and Bazzar (3260, Kashf edition), both through Husayn bin Ali, from Zaida, from Layth, from Mujahid, from Ayesha, and she related it. Layth is Ibn Abu Salim, and he is daif.