MB3 7a: Making a Halachically Acceptable Partnership with a Gentile (245:1)

If a Jew and a gentile jointly own a business, what agreement do they need to make beforehand in order for the store to be open on Shabbos?