The Rambam also wrote there: If one was engaged in eating, or was in a bathhouse, or engaged in a haircut, or turning over skins, or engaged in a legal case—he finishes and afterward recites Keriat Shema. And if he was afraid lest the time for recitation pass, and he stopped and recited—behold, this is praiseworthy. Thus far his words. And the Ra'avad disagrees with him, and this is his wording: Not so, but rather he stops and recites even though there is time to recite, because it is from the Torah. And if there is no time, he stops even for the rabbinic prayer. Thus far his words. And the commentators have elaborated on the reason for their dispute. But it seems more likely that they do not disagree at all. For the Rambam is dealing with one who began permissibly before the time for Keriat Shema arrived, and therefore he does not need to stop unless the time for Keriat Shema will pass. And the Ra'avad is dealing with one who began in prohibition, and therefore he is obligated to stop (Bach). And you should know that it is so, for behold the Rambam wrote: If one was engaged in eating... and if it should enter your mind that he began after the time for Keriat Shema arrived, how did he begin to eat? For behold, he is a wicked person to eat before the prayer. Rather, it is certain that he began to eat at night and it extended into the day, such as at weddings and the like. And it seems to me that this is the intent of the Tur later in siman 89, where he wrote: And if he began to eat before the morning star rose, the Rambam wrote that he does not need to stop, see there. And the commentators wrote that a mistaken manuscript happened upon the Tur regarding the words of the Rambam, for this is not found in the Rambam except regarding Mincha (see there in the Beit Yosef and in the Bach). And it seems that his intent is regarding these words of his. And the Ra'avad was of the opinion that the Rambam was dealing with one who began in prohibition, and therefore he disagreed with him. But in truth they do not disagree, and so is the primary ruling (as the Magen Avraham wrote at the end of subsection 6). And see what I wrote above in siman 38, section 10.
עוד כתב שם הרמב"ם: היה עוסק באכילה, או שהיה במרחץ, או עוסק בתספורת, או מהפך בעורות, או עוסק בדין – גומר ואחר כך קורא קריאת שמע. ואם היה מתיירא שמא יעבור זמן קריאה, ופסק וקרא – הרי זה משובח. עד כאן לשונו. והראב"ד חולק עליו, וזה לשונו: לא כי אלא מפסיק וקורא אף על פי שיש שהות לקרות, מפני שהיא מן התורה. ואם אין שהות, אפילו לתפילה דרבנן מפסיק. עד כאן לשונו. והאריכו המפרשים בטעם מחלוקתן. אבל יותר נראה דלא פליגי כלל. דהרמב"ם מיירי בהתחיל בהיתר קודם שהגיע זמן קריאת שמע, ולכן אינו צריך להפסיק אם לא שיעבור זמן קריאת שמע. והראב"ד מיירי בהתחיל באיסור, ולפיכך מחויב להפסיק (ב"ח). ותדע לך שכן הוא, שהרי הרמב"ם כתב: היה עוסק באכילה… ואי סלקא דעתך שהתחיל לאחר שהגיע זמן קריאת שמע, היאך התחיל לאכול? והא רשע הוא לאכול קודם התפילה. אלא וודאי דהתחיל לאכול בלילה ונמשך על היום, כמו בחתונות וכיוצא בזה. ונראה לי שזהו כוונת הטור לקמן סימן פ"ט, שכתב: ואם התחיל לאכול קודם שעלה עמוד השחר, כתב הרמב"ם שאינו צריך להפסיק, עיין שם. וכתבו המפרשים שנוסחא מוטעת נזדמנה לו להטור בדברי הרמב"ם, דלא נמצא זה ברמב"ם אלא במנחה (עיין שם בבית יוסף ובב"ח). ונראה שכוונתו על דבריו אלה. והראב"ד היה סבור שהרמב"ם מיירי בהתחיל באיסור, ולכן חלק עליו. אבל באמת לא פליגי, וכן עיקר לדינא (כמו שכתב המגן אברהם סוף סעיף קטן ו'). ועיין מה שכתבתי לעיל סימן ל"ח סעיף י.