Partnership is already on board with 5♠ small slam ask and 5NT grand slam force. Unfortunately the suit with trouble is hearts.
My faulty memory believes small slam ask can apply in suits other than trumps, but I can't find a write up about the treatment. For instance, the auction 1♠ or 2♠ - pass - 5♥ should be asking for first or second round control in hearts, agreeing spades as trump. The cheapest level of hearts would have been forcing, allowing a delayed 5♥ to ask with hearts as trump.
Water gets muddier after a 3 or 4-level opener.
It would be great if 5♥ were asking about hearts in this auction and I can't think of many hands that would want to bid over the opening 4♠ unless they're looking for a spade slam, but I don't know what to search for or where to get details.