There is no set number of lines for a narrative poem. Length varies dramatically based on the story’s scope, the poet’s style, and aesthetic preferences.
The Iliad and The Odyssey span thousands of lines.
The Raven by Edgar Allan Poe comprises a few dozen lines.
From epic to lyrical narrative, the form accommodates any length the story demands.