Benrahma scored a brilliant goal for West Ham on his return to Brentford when East London won a pre-season friendly 1-0.
Midway through the second half, Benrahma scored with a 30-meter Shot in the top corner of the net.
New signing Frank Onyeka played the first half for the Bees, who will face the Spanish club Valencia next weekend.
Shandon Baptiste, who came on at half time and recently replaced returned from a knee injury almost equaled when he shot from the edge of the box against the post.
Brentford: Gunnarsson (Raya 45), Roerslev (Stevens 75), Goode (Jansson 45), Sorensen (Norgaard 61) , Pinnock, Henry (Thompson 45), Janelt (Mbeumo 61), Onyeka (Baptise 45), Canos (Ghoddos 45.)), Dervisoglu (Toney 61), Forss (Fosu 75).
Keywords: