Sunan An-Nasa'i
Hadith #1924
It was narrated from Muhammad that:a funeral passed by Al-Hasan bin 'Ali and Ibn 'Abbas. Al-Hasan stood up but Ibn 'Abbas did not/ Al-Hasan said: 'Didn't the Messenger of Allah stand up for the funeral of a Jew?' Ibn 'Abbas said: 'Yes, then he sat down