You need to file Form 7004 for an extension to file a Form 1041.
See https://www.irs.gov/forms-pubs/about-form-7004