We report on the discovery and analysis of the transient X-ray pulsar XMMU J031747.5-663010 detected in the 2004 November 23 XMM-Newton observation of the spiral galaxy NGC 1313 . The X-ray source exhibits pulsations with a period P \sim 765.6 s and a nearly sinusoidal pulse shape and pulsed fraction \sim 38 % in the 0.3-7 keV energy range . The X-ray spectrum of XMMU J031747.5-663010 is hard and is well fitted with an absorbed simple power law of photon index \Gamma \sim 1.5 in the 0.3-7 keV energy band . The X-ray properties of the source and the absence of an optical/UV counterpart brighter than 20 mag allow us to identify XMMU J031747.5-663010 as an accreting X-ray pulsar located in NGC 1313 . The estimated absorbed 0.3-7 keV luminosity of the source L _ { X } \sim 1.6 \times 10 ^ { 39 } ergs s ^ { -1 } , makes it one of the brightest X-ray pulsars known . Based on the relatively long pulse period and transient behaviour of the source , we classify it as a Be binary X-ray pulsar candidate . XMMU J031747.5-663010 is the second X-ray pulsar detected outside the Local Group , after transient 18 s pulsating source CXOU J073709.1+653544 discovered in the nearby spiral galaxy NGC 2403 .