Rabbi story

I remember a while back there was a thread that mentioned the story about 3 (?) Rabbis who were arguing about some theological point, and I think that God himself declared something like “You’re wrong, *this *is what I meant by that passage”, but the Rabbis said to God something like “No, you’re wrong. You may have meant that, but if we logically parse the text itself, we arrive at a different conclusion, and it is the latter which is theologically right, even if you meant it differently”

Basically, it was about the fact that the letter of the Law, and the logical inferences from it, are the most important thing, no matter what God might have “meant”.

Can anyone point me to this story or to the thread that had this?

It’s from Tractate Baba Metzia.

The story cited by Captain Amazing is the exact same one that I thought of when I saw the OP. I’d just like to highlight certain parts of it, to clarify it in light of the OP. (Italics will be used for words which I translate a little differently than Captain Amazing did.)

Polerius wrote:

I won’t deny that the story CAN be interpreted as Polerius wrote. But I prefer a different interpretation, namely this: The story is not about the letter of the law versus what God really meant; rather it illustrates that the letter of the law can be unclear and God therefore included laws (namely, the Majority Rule) about how to deal with laws that are unclear.

Which is why Rabbi Eliezar is excommunicated, “to prevent a quarrel in Israel.”