It is narrated from Sayyiduna Abdullah bin Amr bin Al-As (may Allah be pleased with him) that the Messenger of Allah (ﷺ) said: "Whoever kills a sparrow or anything smaller without a just cause, Allah Almighty will question him about it." It was asked: O Messenger of Allah, what is its right? He (ﷺ) said: "That he slaughters it and eats it, and does not just cut off its head and throw it away."
Hadith Referenceالسنن المأثورة / باب في أكل لحوم الخيل والبغال والحمير / 576
Hadith Takhrijسنن نسائی، الصید والذبائح، باب اباحة اکل العصافیر، رقم: 4349 وقال الالبانی ضعیف، السنن الکبری للبیہقی: 86/9۔