Your first one is correct for a specific thing said in the past.
The second would be right if someone said something in the past, but you don't know or care exactly what that person said. You don't have a good opinion of that person and so whatever they said, you don't believe them.
A more common expression with "whatever" is in the present: "I don't believe whatever you say."