The Source of Traditions on Imam al-Riḍā (Vol 2) · Hadith 319 (#Ḥadīth #319)
Chapter 1 | Traditions about Ar-Ridha
319 - وَبِهذَا الإسناد قالَ: قالَ رَسُولَ اللَّهِ صَلَّى اللهُعَلَيْهِ وَآلِهِ: من أرْضِى سلطاناً بِما يسخط اللَّه خَرَجَ عَنْ دين اللَّه عَزَّ وَجَلَّ.
31-319 According to the same documentation, God’s Prophet (S) said, “Whoever pleases a ruler by displeasing God has abandoned the Honorable the Exalted God’s religion.”
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).