The Decree hadith Malik's Muwatta

Yahya related to me from Malik from Abu'z-Zinad from al-Araj from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, said, "Adam and Musa argued and Adam got the better of Musa. Musa rebuked Adam, 'You are Adam who led people astray and brought them out of the Garden.' Adam said to him, 'You are Musa to whom Allah gave knowledge of everything and whom he chose above people with His message.' He said, 'Yes.' He said, 'Do you then censure me for a matter which was decreed for me before I was created?' "