The Shach Yoreh De'ah 183:4 understood the opinion of the Levush to be like the Rambam. However, the Shach himself notes that there is a contradiction within the Levush on this point, and many later Acharonim dispute the Shach's understanding of the Levush (Toras Hashelomim, Mekor Mayim Chaim, and others).
The Meromei Sadeh to Niddah 39bMeromei Sadeh to Niddah 39b s.v. פרש"י commenting on Rashi s.v. פרש"יוקתני אסורה suggests that Rashi actually holds like the Rambam.