The past tense of pass by a narrow margin is passed by a narrow margin.
The third-person singular simple present indicative form of pass by a narrow margin is passes by a narrow margin.
The present participle of pass by a narrow margin is passing by a narrow margin.
The past participle of pass by a narrow margin is passed by a narrow margin.