Sahih Muslim (Muslim 21)

Dāwud bin Amr aḍ-Ḍabbī narrated to us, Nāfi’ bin Umar narrated to us, on authority of Ibn Abī Mulaykah, he said:

‘I wrote to Ibn Abbās asking him to write something said: ‘By Allah, Alī did not give judgment according to this unless he was astray’.’