If you fed it to them "five minutes ago" and it was not warm to the touch, they should be ok.
If they're going to colic from it, you most likely would have seen that happen before you asked the question
Once cut grass sits, gets warm and starts to ferment, it should just be thrown on the compost pile or in the garbage; especially if it's been raked into a big pile, where the fermentation starts from the inside-out.
Once Upon A Time, my Ex fed my horses grass clippings with cherry leaves mixed in. I could tell as soon as I pulled in the drive, from work, they had gotten into something as ears were headed in any direction but where they should've been and heads were drooping
That was when I pulled it out of "him" that he'd fed them grass clippings from under the cherry tree.
A huge double no-no as cherry leaves can be toxic and the grass has sat in a pile in the hot sun until he got all the yard cut, so it had time to start fermenting. I was happaaaay
Fortunately, they all made it thru that night, chaste and unscathed; too bad my Ex couldn't say the same-----------