Maliks Muwatta Book 46, Hadith Number 8.
Section : General Section on the People of the Decree.
Yahya related to me from Malik from Yazid ibn Ziyad that Muhammad ibn Kab al-Quradhi said, ”Muawiya ibn Abi Sufyan said from the mimbar, ‘O people! Nothing keeps away what Allah gives and nothing gives what Allah keeps away. The earnestness of the earnest one does not profit him. When Allah desires good for him, he gives him understanding in the deen.’ Then Muawiya said, ‘I heard these words from the Messenger of Allah, may Allah bless him and grant him peace, on these blocks of wood.'”