In the Talmud Bavli (Berakhot 5A-B), HaZa"L discuss yissurim shel ahavah (i.e. afflictions of love).
In his translation of R' Bahya's "Hovot HaLevavot" (introduction to Sha`ar HaBitahon), R' Yoseph Qafih includes a footnote calling the reader to contrast R' Bahya's position (s.v. והששי שבעל הכימיה) with that of HaRaMBa"M in his "Moreh Nevukhim" (3:24). In his footnotes to MN 3:24, R' Qafih guides the reader as well to MN 3:17 and R' Qafih's footnotes there.
In these sections (3:17, 3:24) it appears at first glance that HaRaMBa"M rejects outright the concept of yissurim shel ahavah ("ואין לשון בתורה לעניין זה").
Not being well-versed in Moreh Nevukhim (and knowing that HaRaMBa"M deliberately contradicts himself in it), can someone help me understand if that is indeed his position (i.e. that he rejects the concept altogether)?
ביר: ... וגברא רבא כר״י לא באו לו יסורין שאינן של אהבה
Bir: ... And one as great as R' Yohanan did not experience afflictions other than those of love.
Would HaRaMBa"M have responded that R' Yohanan deserved for his ten sons to die?