You would like to create a DLP policy rule based on file size.
Please refer to the Configuring the Message Attachment or File Size Match condition help page