Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:3049ʿAlī b. Muḥammad > Sufyān b. ʿUyaynah > Ayyūb > ʿIkrimah > Ibn ʿAbbās

“The Messenger of Allah ﷺ was never asked about someone who had done one thing before another, but he would gesture with both his hands to say: ‘There is no harm in that.’”  

ابن ماجة:٣٠٤٩حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ عَنْ أَيُّوبَ عَنْ عِكْرِمَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

مَا سُئِلَ رَسُولُ اللَّهِ ﷺ عَمَّنْ قَدَّمَ شَيْئًا قَبْلَ شَىْءٍ إِلاَّ يُلْقِي بِيَدَيْهِ كِلْتَيْهِمَا لاَ حَرَجَ