The Bride Came C.O.D. (1941).
Humphrey Bogart plays Steve Collins, a pilot (not a stable trainer). James Cagney plays a similar role in The Bride Came C.O.D.? Wait—correction: In The Bride Came C.O.D., Bogart is a pilot who kidnaps an heiress (Bette Davis). There is no Irish stable trainer role for Bogart in a Bette Davis film.
Possible confusion: The Strawberry Blonde (1941) has Bogart as a dentist. All Through the Night (1942) has Bogart vs. Cagney. No Davis/Bogart stable trainer pairing exists.