An own goal from goalkeeper Sherif Ekramy and a Ben Malango strike cemented Raja Casablanca's hold on the top spot in Group D.
Following the game played in Casablanca's Mohammed V Sports Complex, Raja have moved to nine points from three matches retaining their 100% record, while Pyramids were handed their first loss of the group phase.
In group B, RS Berkane will host Algerian team of JS Kabylie.