Hadithcore
Mishkat al-Masabih, 2783

Rafi' b. Khadij said God's Messenger was asked what type of earning was best and replied, “A man’s work with his hand and every business transaction which is approved.” Ahmad transmitted it.

وَعَنْ رَافِعِ بْنِ خَدِيجٍ قَالَ: قِيلَ: يَا رَسُولَ اللَّهِ أَيُّ الْكَسْبِ أَطْيَبُ؟ قَالَ: «عَمَلُ الرَّجُلِ بِيَدِهِ وَكُلُّ بَيْعٍ مَبْرُورٍ» . رَوَاهُ أَحْمَدُ

References1 variant
In-Book Reference
Book 11, Hadith 25