The magnetized strange quark matter (MSQM) solutions are obtained for a Marder type universe using constant deceleration parameter. The exact solutions of field equations are obtained for f(R,T) = R 2f(T) model given by [T. Harko et al., Phys. Rev. D 84, 024020 (2011)] with cosmological term. Also, we have obtained General Relativity (GR) solutions for MSQM distributions. For t -> infinity, we get the dark energy model, i.e. p -> -B-c, rho -> B-c and omega = -1. However, for t -> infinity, we find the cosmological constant A as negative in f (R, T) theory and GR. These results agree with [S. Aygun et al., Astrophys. Space Sci. 361, 380 (2016); C. Aktas and S. Aygun, Chinese T. Phys. 55, 71 (2017); P. K. Sahoo et al., Mod. Phys. Lett. A 32, 1750105 (2017)] in f(R,T) theory. The physical consequences of our obtained models are discussed at the end.